[llvm] r176097 - R600/SI: fix stupid typo
Christian Konig
christian.koenig at amd.com
Tue Feb 26 09:51:58 PST 2013
Author: ckoenig
Date: Tue Feb 26 11:51:57 2013
New Revision: 176097
URL: http://llvm.org/viewvc/llvm-project?rev=176097&view=rev
Log:
R600/SI: fix stupid typo
This is a candidate for the mesa-stable branch.
Signed-off-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
Modified:
llvm/trunk/lib/Target/R600/MCTargetDesc/SIMCCodeEmitter.cpp
Modified: llvm/trunk/lib/Target/R600/MCTargetDesc/SIMCCodeEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/MCTargetDesc/SIMCCodeEmitter.cpp?rev=176097&r1=176096&r2=176097&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/MCTargetDesc/SIMCCodeEmitter.cpp (original)
+++ llvm/trunk/lib/Target/R600/MCTargetDesc/SIMCCodeEmitter.cpp Tue Feb 26 11:51:57 2013
@@ -131,7 +131,7 @@ uint32_t SIMCCodeEmitter::getLitEncoding
if (Imm.F == 4.0f)
return 246;
- if (Imm.F == 4.0f)
+ if (Imm.F == -4.0f)
return 247;
return 255;
More information about the llvm-commits
mailing list