R600: Fix assembly name for SETGT_INT
authorTom Stellard <thomas.stellard@amd.com>
Thu, 7 Feb 2013 14:02:27 +0000 (14:02 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 7 Feb 2013 14:02:27 +0000 (14:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174607 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/R600/R600Instructions.td
test/CodeGen/R600/selectcc-icmp-select-float.ll

index afb30ec0d4c4ebd06132eb4ab0464aaa9a34d41c..d40e75bf9e454b8d12cf2cc8cda2870be16ac210 100644 (file)
@@ -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))]
 >;
index f65a30086e5634638ba14746ca44f57c36cec78f..359ca1e6f8ce7751e44ad7e871901a4e4b89cc9d 100644 (file)
@@ -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) {