Displaying 2 results from an estimated 2 matches for "tp24253572p24256244".
2009 Jun 29
0
[LLVMdev] Instruction Combining Pass *Breaking* Struct Reads?
On Mon, Jun 29, 2009 at 5:54 AM, Nyx<mcheva at cs.mcgill.ca> wrote:
> As you can see, I allocate two structs, one taking 16 bytes (containing two
> i64 values), and one taking 12 bytes (containing a pointer and an i64 value,
> this is on a 32-bit machine)
Are you sure that's right? If the target data specifies that a
pointer is 64 bits or that i64 has an alignment of 64 bits,
2009 Jun 29
2
[LLVMdev] Instruction Combining Pass *Breaking* Struct Reads?
I'm in a situation where I have code that works fine if I don't run the
instruction combining optimization pass, but breaks when I do. The code in
question is meant to allocate space for two structs on the stack using
alloca, and then pass pointers to these to a callee function. One struct
serves to store the input to the function, the other serves for the callee
function to write its