Displaying 1 result from an estimated 1 matches for "wintermodule".
Did you mean:
intermodule
2013 Sep 05
2
[LLVMdev] Optimisation pass to move an alloca'd array to a global constant array
...ss, what requirements are there for it to operate?
My optimised IR is below. As you can see an array of 5 integers is
created with alloca, then each element is stored to in turn. It would
be nice if this array was transformed into a global constant array.
Thanks,
Nick
; ModuleID = 'WinterModule'
target datalayout =
"e-p:64:64:64-S128-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f16:16:16-f32:32:32-f64:64:64-f128:128:128-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
; Function Attrs: nounwind readnone
define i32 @"main(int)"(i32 %i, i32* nocaptur...