summaryrefslogtreecommitdiffstats
path: root/llvm/test/LTO/ARM/Inputs/thumb.ll
blob: cb8c2dfa55857fa9aa89a0922e3f5b4bb4720b4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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" }
OpenPOWER on IntegriCloud