search for: _l5_get

Displaying 1 result from an estimated 1 matches for "_l5_get".

Did you mean: __get
2008 Dec 07
1
[LLVMdev] llc -fast generating incorrect assembly
...ompiling to the x86-64 architecture, llc -fast generates incorrect assembly for the getlementptr instruction. This only seems to occur when llc is passed the fast flag. [tamirs at tuna compiler]$ cat jonx.ll ; ModuleID = '<stdin>' define i32 @main() { ret i32 0 } define i32 @_l5_get(i32 %t3, i32* %t1) { %t9 = getelementptr i32* %t1, i32 %t3 ; <i32*> [#uses=1] %t15 = load i32* %t9 ; <i32> [#uses=1] ret i32 %t15 } [tamirs at tuna compiler]$ llvm-as -f jonx.ll [tamirs at tuna compiler]$ llc -march=x86-64 -fast -f jonx.bc [tamirs at tuna compiler]$ gcc jonx.s jonx...