[llvm] r174607 - R600: Fix assembly name for SETGT_INT
Tom Stellard
thomas.stellard at amd.com
Thu Feb 7 06:02:27 PST 2013
Author: tstellar
Date: Thu Feb 7 08:02:27 2013
New Revision: 174607
URL: http://llvm.org/viewvc/llvm-project?rev=174607&view=rev
Log:
R600: Fix assembly name for SETGT_INT
Modified:
llvm/trunk/lib/Target/R600/R600Instructions.td
llvm/trunk/test/CodeGen/R600/selectcc-icmp-select-float.ll
Modified: llvm/trunk/lib/Target/R600/R600Instructions.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/R600Instructions.td?rev=174607&r1=174606&r2=174607&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/R600Instructions.td (original)
+++ llvm/trunk/lib/Target/R600/R600Instructions.td Thu Feb 7 08:02:27 2013
@@ -771,7 +771,7 @@ def SETE_INT : R600_2OP <
>;
def SETGT_INT : R600_2OP <
- 0x3B, "SGT_INT",
+ 0x3B, "SETGT_INT",
[(set (i32 R600_Reg32:$dst),
(selectcc (i32 R600_Reg32:$src0), R600_Reg32:$src1, -1, 0, SETGT))]
>;
Modified: llvm/trunk/test/CodeGen/R600/selectcc-icmp-select-float.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/R600/selectcc-icmp-select-float.ll?rev=174607&r1=174606&r2=174607&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/R600/selectcc-icmp-select-float.ll (original)
+++ llvm/trunk/test/CodeGen/R600/selectcc-icmp-select-float.ll Thu Feb 7 08:02:27 2013
@@ -2,7 +2,7 @@
; Note additional optimizations may cause this SGT to be replaced with a
; CND* instruction.
-; CHECK: SGT_INT T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW], literal.x, -1}}
+; CHECK: SETGT_INT T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW], literal.x, -1}}
; Test a selectcc with i32 LHS/RHS and float True/False
define void @test(float addrspace(1)* %out, i32 addrspace(1)* %in) {
More information about the llvm-commits
mailing list