summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2015-02-13 02:47:22 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2015-02-13 02:47:22 +0000
commit63bef0d1773fa389975ff95dc7b7580468c43ce1 (patch)
tree6a19951695108ec0aa05a55b3c212ed209f74cbe /llvm/lib
parentdd6029fc6ee4255d2a586fc96a5f8d8e1f35804c (diff)
downloadbcm5719-llvm-63bef0d1773fa389975ff95dc7b7580468c43ce1.tar.gz
bcm5719-llvm-63bef0d1773fa389975ff95dc7b7580468c43ce1.zip
R600/SI: Remove unnecessary check for fpimm
llvm-svn: 229034
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/R600/SIInstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/R600/SIInstrInfo.cpp b/llvm/lib/Target/R600/SIInstrInfo.cpp
index 80e9c865961..88a6677e7b2 100644
--- a/llvm/lib/Target/R600/SIInstrInfo.cpp
+++ b/llvm/lib/Target/R600/SIInstrInfo.cpp
@@ -1126,7 +1126,7 @@ bool SIInstrInfo::verifyInstruction(const MachineInstr *MI,
switch (Desc.OpInfo[i].OperandType) {
case MCOI::OPERAND_REGISTER:
- if (MI->getOperand(i).isImm() || MI->getOperand(i).isFPImm()) {
+ if (MI->getOperand(i).isImm()) {
ErrInfo = "Illegal immediate value for operand.";
return false;
}
OpenPOWER on IntegriCloud