search for: allowunalignedmemoryaccess

Displaying 2 results from an estimated 2 matches for "allowunalignedmemoryaccess".

2009 Feb 13
0
[LLVMdev] 16bit loads being promoted to 32bit?
...orting extending loads, you can use setLoadExtAction to make Legalize take care of it. > 1) I'm limited to 32bit aligned loads and llvm is assuming a > 16bit/8bit alignment You shouldn't be seeing any unaligned loads post-Legalize unless you explicitly ask for them by setting allowUnalignedMemoryAccesses to true. -Eli
2009 Feb 13
3
[LLVMdev] 16bit loads being promoted to 32bit?
I have the following function: define void @test_fc_0_kernel(i16 signext %x, i16 signext %y, i16 addrspace(11)* %input, i32 addrspace(11)* %result) { entry: %call = tail call i32 @get_id(i32 0) ; <i32> [#uses=2] %cmp = icmp slt i16 %x, %y ; <i1> [#uses=1] br i1 %cmp, label %if.then, label %if.end