diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-09-07 17:56:09 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-09-07 17:56:09 +0000 |
commit | c4c2318e72dd5d13f529436536a429c8f9fbe7cb (patch) | |
tree | bfbb47af76abeaa38d858cda911580942892f6ce /test/CodeGen/Thumb2 | |
parent | 4a832664360a2e589a5de291ed25434edfdce1fa (diff) |
CodeGen: ensure that libcalls are always AAPCS CC
The original commit was too aggressive about marking LibCalls as AAPCS. The
libcalls contain libc/libm/libunwind calls which are not AAPCS, but C.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280833 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb2')
-rw-r--r-- | test/CodeGen/Thumb2/float-intrinsics-double.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/Thumb2/float-intrinsics-float.ll | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/Thumb2/float-intrinsics-double.ll b/test/CodeGen/Thumb2/float-intrinsics-double.ll index 657d1b172da..9e949908382 100644 --- a/test/CodeGen/Thumb2/float-intrinsics-double.ll +++ b/test/CodeGen/Thumb2/float-intrinsics-double.ll @@ -18,7 +18,7 @@ declare double @llvm.powi.f64(double %Val, i32 %power) define double @powi_d(double %a, i32 %b) { ; CHECK-LABEL: powi_d: ; SOFT: {{(bl|b)}} __powidf2 -; HARD: b __powidf2 +; HARD: bl __powidf2 %1 = call double @llvm.powi.f64(double %a, i32 %b) ret double %1 } diff --git a/test/CodeGen/Thumb2/float-intrinsics-float.ll b/test/CodeGen/Thumb2/float-intrinsics-float.ll index 847aeacd2f9..fda840d90f3 100644 --- a/test/CodeGen/Thumb2/float-intrinsics-float.ll +++ b/test/CodeGen/Thumb2/float-intrinsics-float.ll @@ -18,7 +18,7 @@ declare float @llvm.powi.f32(float %Val, i32 %power) define float @powi_f(float %a, i32 %b) { ; CHECK-LABEL: powi_f: ; SOFT: bl __powisf2 -; HARD: b __powisf2 +; HARD: bl __powisf2 %1 = call float @llvm.powi.f32(float %a, i32 %b) ret float %1 } |