Displaying 2 results from an estimated 2 matches for "fcdcfde8".
2008 Jul 16
0
[LLVMdev] Interesting optimization failure.
Hi Richard,
> I have been working on using arrays and structs as first class objects.
good to hear! The example doesn't make use of that though, does it?
> I have this small function:
>
> int main()
> {
> char ar[10] = "12";
> return ar[4];
> }
...
> define i32 @main() nounwind {
> entry:
> ret i32 49
> }
>
Here I get
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 =