aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/R600/fsub.ll
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-01-31 22:11:54 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-01-31 22:11:54 +0000
commit4bdf9890edd91b82487a29ae134d53676829bd0d (patch)
tree1df1828c005e344b8ee1c0b598aeccd063c886f4 /test/CodeGen/R600/fsub.ll
parentcacbcb0f2c60d45618dee0e10ded2ed2052166a6 (diff)
R600: Fold clamp, neg, abs
Patch by: Vincent Lejeune Reviewed-by: Tom Stellard <thomas.stellard@amd.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174099 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/R600/fsub.ll')
-rw-r--r--test/CodeGen/R600/fsub.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/CodeGen/R600/fsub.ll b/test/CodeGen/R600/fsub.ll
index 0ec1c376df..591aa52676 100644
--- a/test/CodeGen/R600/fsub.ll
+++ b/test/CodeGen/R600/fsub.ll
@@ -1,7 +1,6 @@
;RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck %s
-; CHECK: MOV T{{[0-9]+\.[XYZW], -T[0-9]+\.[XYZW]}}
-; CHECK: ADD T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
+; CHECK: ADD T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW], -T[0-9]+\.[XYZW]}}
define void @test() {
%r0 = call float @llvm.R600.load.input(i32 0)