Displaying 1 result from an estimated 1 matches for "_zn3foo11zeroandzeroe".
2015 Jul 21
3
[LLVMdev] How to not zeroinitialize array
...t of compiling some code down to a very simple runtime that doesn't provide support for zeroinitialize. If I run the below code through llc:
; ModuleID = '.\t.bc'
target datalayout = "e-m:w-p:32:32-i64:64-f80:32-n8:16:32-S32"
target triple = "i686-pc-windows-gnu"
@_ZN3Foo11ZeroAndZeroE = global [2 x i32] [i32 0, i32 0], align 4
!llvm.ident = !{!0}
!0 = !{!"clang version 3.6.0 (tags/RELEASE_360/final)"}
It turns into this:
; ModuleID = '.\t.ll'
target datalayout = "e-m:w-p:32:32-i64:64-f80:32-n8:16:32-S32"
target triple = "i686-pc-windows-gnu&q...