summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/tail-call-builtin.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/ARM/tail-call-builtin.ll')
-rw-r--r--llvm/test/CodeGen/ARM/tail-call-builtin.ll23
1 files changed, 11 insertions, 12 deletions
diff --git a/llvm/test/CodeGen/ARM/tail-call-builtin.ll b/llvm/test/CodeGen/ARM/tail-call-builtin.ll
index 0ed15bc8403..c829cc52462 100644
--- a/llvm/test/CodeGen/ARM/tail-call-builtin.ll
+++ b/llvm/test/CodeGen/ARM/tail-call-builtin.ll
@@ -1,38 +1,37 @@
; RUN: llc -mtriple=thumbv7-linux-gnueabihf %s -o - | FileCheck %s
-define arm_aapcs_vfpcc i64 @test_mismatched_call(double %in) {
+define i64 @test_mismatched_call(double %in) {
; CHECK-LABEL: test_mismatched_call:
-; CHECK: vmov r0, r1, d0
; CHECK: bl floor
+; CHECK: vmov r0, r1, d0
- %val = tail call arm_aapcscc double @floor(double %in)
+ %val = tail call double @floor(double %in)
%res = bitcast double %val to i64
ret i64 %res
}
-define arm_aapcs_vfpcc double @test_matched_call(double %in) {
+define double @test_matched_call(double %in) {
; CHECK-LABEL: test_matched_call:
-; CHECK: b _floor
+; CHECK: b floor
- %val = tail call arm_aapcs_vfpcc double @_floor(double %in)
+ %val = tail call double @floor(double %in)
ret double %val
}
-define arm_aapcs_vfpcc void @test_irrelevant_call(double %in) {
+define void @test_irrelevant_call(double %in) {
; CHECK-LABEL: test_irrelevant_call:
; CHECK-NOT: bl floor
- %val = tail call arm_aapcscc double @floor(double %in)
+ %val = tail call double @floor(double %in)
ret void
}
-define arm_aapcs_vfpcc double @test_callingconv(double %in) {
+define arm_aapcscc double @test_callingconv(double %in) {
; CHECK: test_callingconv:
; CHECK: bl floor
- %val = tail call arm_aapcscc double @floor(double %in)
+ %val = tail call double @floor(double %in)
ret double %val
}
-declare arm_aapcs_vfpcc double @_floor(double) nounwind readonly
-declare arm_aapcscc double @floor(double) nounwind readonly
+declare double @floor(double) nounwind readonly
OpenPOWER on IntegriCloud