aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/R600
diff options
context:
space:
mode:
authorVincent Lejeune <vljn@ovi.com>2013-07-09 15:03:11 +0000
committerVincent Lejeune <vljn@ovi.com>2013-07-09 15:03:11 +0000
commitc6f13db656c7649f933c74c4f90c09ff74de52a8 (patch)
tree58bfc64f2591a69c773c9a0872dffff0be097c1f /test/CodeGen/R600
parentf79b9b859384fbbc065066e5978e39e09a1cc899 (diff)
downloadexternal_llvm-c6f13db656c7649f933c74c4f90c09ff74de52a8.zip
external_llvm-c6f13db656c7649f933c74c4f90c09ff74de52a8.tar.gz
external_llvm-c6f13db656c7649f933c74c4f90c09ff74de52a8.tar.bz2
R600: Use DAG lowering pass to handle fcos/fsin
NOTE: This is a candidate for the stable branch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185940 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/R600')
-rw-r--r--test/CodeGen/R600/llvm.cos.ll3
-rw-r--r--test/CodeGen/R600/llvm.sin.ll3
2 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/R600/llvm.cos.ll b/test/CodeGen/R600/llvm.cos.ll
index b444fa7..8fb4559 100644
--- a/test/CodeGen/R600/llvm.cos.ll
+++ b/test/CodeGen/R600/llvm.cos.ll
@@ -1,5 +1,8 @@
;RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck %s
+;CHECK: MULADD_IEEE *
+;CHECK: FRACT *
+;CHECK: ADD *
;CHECK: COS * T{{[0-9]+\.[XYZW], PV\.[XYZW]}}
define void @test() {
diff --git a/test/CodeGen/R600/llvm.sin.ll b/test/CodeGen/R600/llvm.sin.ll
index 09cc3d2..e94c2ba 100644
--- a/test/CodeGen/R600/llvm.sin.ll
+++ b/test/CodeGen/R600/llvm.sin.ll
@@ -1,5 +1,8 @@
;RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck %s
+;CHECK: MULADD_IEEE *
+;CHECK: FRACT *
+;CHECK: ADD *
;CHECK: SIN * T{{[0-9]+\.[XYZW], PV\.[XYZW]}}
define void @test() {