diff options
author | Vincent Lejeune <vljn@ovi.com> | 2013-07-09 15:03:11 +0000 |
---|---|---|
committer | Vincent Lejeune <vljn@ovi.com> | 2013-07-09 15:03:11 +0000 |
commit | c6f13db656c7649f933c74c4f90c09ff74de52a8 (patch) | |
tree | 58bfc64f2591a69c773c9a0872dffff0be097c1f /test | |
parent | f79b9b859384fbbc065066e5978e39e09a1cc899 (diff) | |
download | external_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')
-rw-r--r-- | test/CodeGen/R600/llvm.cos.ll | 3 | ||||
-rw-r--r-- | test/CodeGen/R600/llvm.sin.ll | 3 |
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() { |