aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/R600/MCTargetDesc/SIMCCodeEmitter.cpp
diff options
context:
space:
mode:
authorChristian Konig <christian.koenig@amd.com>2013-02-26 17:51:57 +0000
committerChristian Konig <christian.koenig@amd.com>2013-02-26 17:51:57 +0000
commita25b8d4c0b4f6422c58c0ca5c003757bfbf636ac (patch)
treee0ecba153d7212e17ba7024de6d4726ec55fee98 /lib/Target/R600/MCTargetDesc/SIMCCodeEmitter.cpp
parent37527d1943e10135e05c263fec5ea7a850aedf88 (diff)
R600/SI: fix stupid typo
This is a candidate for the mesa-stable branch. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176097 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600/MCTargetDesc/SIMCCodeEmitter.cpp')
-rw-r--r--lib/Target/R600/MCTargetDesc/SIMCCodeEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/R600/MCTargetDesc/SIMCCodeEmitter.cpp b/lib/Target/R600/MCTargetDesc/SIMCCodeEmitter.cpp
index 2bf8fb85d6..6cc0077d30 100644
--- a/lib/Target/R600/MCTargetDesc/SIMCCodeEmitter.cpp
+++ b/lib/Target/R600/MCTargetDesc/SIMCCodeEmitter.cpp
@@ -131,7 +131,7 @@ uint32_t SIMCCodeEmitter::getLitEncoding(const MCOperand &MO) const {
if (Imm.F == 4.0f)
return 246;
- if (Imm.F == 4.0f)
+ if (Imm.F == -4.0f)
return 247;
return 255;