llvm-for-llvmta/test/LTO/ARM/Inputs/thumb.ll

16 lines
267 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
target triple = "thumbv7-linux-gnueabihf"
define i32 @foo(i32 %a, i32 %b) #0 {
entry:
%add = add i32 %a, %b
ret i32 %add
}
define i32 @bar(i32 %a, i32 %b) #0 {
entry:
%add = add i32 %a, %b
ret i32 %add
}
attributes #0 = { "target-features"="+thumb-mode" }