summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2011-12-08 19:32:14 +0000
committerOwen Anderson <resistor@mac.com>2011-12-08 19:32:14 +0000
commit4a4fdf3476473021f62d5b02e8ee8802f5b25e5a (patch)
tree01db61d10fc4e3df3fd703354b68542dfa955970 /test
parent40e285554773c51f6dd6eb8d076256e557fab9c3 (diff)
downloadllvm-4a4fdf3476473021f62d5b02e8ee8802f5b25e5a.tar.gz
llvm-4a4fdf3476473021f62d5b02e8ee8802f5b25e5a.tar.bz2
llvm-4a4fdf3476473021f62d5b02e8ee8802f5b25e5a.tar.xz
Teach SelectionDAG to match more calls to libm functions onto existing SDNodes. Mark these nodes as illegal by default, unless the target declares otherwise.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146171 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/Thumb2/thumb2-cbnz.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/Thumb2/thumb2-cbnz.ll b/test/CodeGen/Thumb2/thumb2-cbnz.ll
index 0992fa8be3..7993bbf0ed 100644
--- a/test/CodeGen/Thumb2/thumb2-cbnz.ll
+++ b/test/CodeGen/Thumb2/thumb2-cbnz.ll
@@ -1,7 +1,7 @@
; RUN: llc < %s -mtriple=thumbv7-apple-darwin -mcpu=cortex-a8 | FileCheck %s
; rdar://7354379
-declare double @floor(double) nounwind readnone
+declare double @foo(double) nounwind readnone
define void @t(i32 %c, double %b) {
entry:
@@ -26,7 +26,7 @@ bb9: ; preds = %bb7
; CHECK: cmp r0, #0
; CHECK: cmp r0, #0
; CHECK-NEXT: cbnz
- %0 = tail call double @floor(double %b) nounwind readnone ; <double> [#uses=0]
+ %0 = tail call double @foo(double %b) nounwind readnone ; <double> [#uses=0]
br label %bb11
bb11: ; preds = %bb9, %bb7