[llvm-branch-commits] [llvm-branch] r165622 - /llvm/branches/R600/lib/Target/AMDGPU/R600Instructions.td
Tom Stellard
thomas.stellard at amd.com
Wed Oct 10 08:03:03 PDT 2012
Author: tstellar
Date: Wed Oct 10 10:03:03 2012
New Revision: 165622
URL: http://llvm.org/viewvc/llvm-project?rev=165622&view=rev
Log:
R600: Fix typo in SETGE_UINT pattern
The operands to SETGE_UINT were reversed.
Fixes piglit test:
Program/Execute/Scalar comparison uint
Modified:
llvm/branches/R600/lib/Target/AMDGPU/R600Instructions.td
Modified: llvm/branches/R600/lib/Target/AMDGPU/R600Instructions.td
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/R600/lib/Target/AMDGPU/R600Instructions.td?rev=165622&r1=165621&r2=165622&view=diff
==============================================================================
--- llvm/branches/R600/lib/Target/AMDGPU/R600Instructions.td (original)
+++ llvm/branches/R600/lib/Target/AMDGPU/R600Instructions.td Wed Oct 10 10:03:03 2012
@@ -1428,7 +1428,7 @@
// SETGE_UINT reverse args
def : Pat <
(selectcc (i32 R600_Reg32:$src0), R600_Reg32:$src1, -1, 0, SETULE),
- (SETGE_UINT R600_Reg32:$src0, R600_Reg32:$src1)
+ (SETGE_UINT R600_Reg32:$src1, R600_Reg32:$src0)
>;
// The next two patterns are special cases for handling 'true if ordered' and
More information about the llvm-branch-commits
mailing list