1target triple = "thumbv7-linux-gnueabihf" 2 3define i32 @foo(i32 %a, i32 %b) #0 { 4entry: 5 %add = add i32 %a, %b 6 ret i32 %add 7} 8 9define i32 @bar(i32 %a, i32 %b) #1 { 10entry: 11 %add = add i32 %a, %b 12 ret i32 %add 13} 14 15attributes #0 = { "target-features"="-thumb-mode" } 16attributes #1 = { "target-features"="+thumb-mode" } 17