bolt/deps/llvm-18.1.8/lld/test/ELF/lto/Inputs/thin2.ll

12 lines
327 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-scei-ps4"
define i32 @blah(i32 %meh) #0 {
entry:
%meh.addr = alloca i32, align 4
store i32 %meh, ptr %meh.addr, align 4
%0 = load i32, ptr %meh.addr, align 4
%sub = sub nsw i32 %0, 48
ret i32 %sub
}