46 lines · plain
1; RUN: llc < %s -mtriple=thumbv8m.base | FileCheck %s2; RUN: llc < %s -mtriple=thumbebv8m.base | FileCheck %s3 4define i32 @test_tt(ptr readnone %p) #0 {5entry:6 %0 = tail call i32 @llvm.arm.cmse.tt(ptr %p)7 ret i32 %08}9; CHECK-LABEL: test_tt:10; CHECK: tt r{{[0-9]+}}, r{{[0-9]+}}11 12declare i32 @llvm.arm.cmse.tt(ptr) #113 14define i32 @test_ttt(ptr readnone %p) #0 {15entry:16 %0 = tail call i32 @llvm.arm.cmse.ttt(ptr %p)17 ret i32 %018}19; CHECK-LABEL: test_ttt:20; CHECK: ttt r{{[0-9]+}}, r{{[0-9]+}}21 22declare i32 @llvm.arm.cmse.ttt(ptr) #123 24define i32 @test_tta(ptr readnone %p) #0 {25entry:26 %0 = tail call i32 @llvm.arm.cmse.tta(ptr %p)27 ret i32 %028}29; CHECK-LABEL: test_tta:30; CHECK: tta r{{[0-9]+}}, r{{[0-9]+}}31 32declare i32 @llvm.arm.cmse.tta(ptr) #133 34define i32 @test_ttat(ptr readnone %p) #0 {35entry:36 %0 = tail call i32 @llvm.arm.cmse.ttat(ptr %p)37 ret i32 %038}39; CHECK-LABEL: test_ttat:40; CHECK: ttat r{{[0-9]+}}, r{{[0-9]+}}41 42declare i32 @llvm.arm.cmse.ttat(ptr) #143 44attributes #0 = { nounwind readnone "target-features"="+8msecext"}45attributes #1 = { nounwind readnone }46