Displaying 1 result from an estimated 1 matches for "jonx".
Did you mean:
jon
2008 Dec 07
1
[LLVMdev] llc -fast generating incorrect assembly
When compiling 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
[tam...