linux-packaging-mono/external/llvm/test/CodeGen/X86/codegen-prepare-crash.ll
Xamarin Public Jenkins (auto-signing) 64ac736ec5 Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
2019-04-12 14:10:50 +00:00

15 lines
305 B
LLVM

; RUN: llc < %s
target triple = "x86_64-unknown-linux-gnu"
@g = external global [10 x i32]
define void @f(i32 %u) {
%1 = add i32 %u, 4
br label %P.Proc8.exit
P.Proc8.exit:
%valueindex35.i = getelementptr [10 x i32], [10 x i32]* @g, i32 0, i32 %1
store i32 %u, i32* %valueindex35.i
ret void
}