Displaying 1 result from an estimated 1 matches for "t0011".
Did you mean:
0011
2008 Jul 16
3
[LLVMdev] Interesting optimization failure.
Hi,
I have been working on using arrays and structs as first class objects.
I have this small function:
int main()
{
char ar[10] = "12";
return ar[4];
}
If I compile with -O1 I get this bitcode:
; ModuleID = 't0011.bc'
target datalayout =
"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-s0:0:64-f80:32:32"
target triple = "i686-pc-linux-gnu"
define i32 @main() {
entry:
%retval = alloca i32 ; <i32*> [...