[llvm] r229034 - R600/SI: Remove unnecessary check for fpimm
Matt Arsenault
Matthew.Arsenault at amd.com
Thu Feb 12 18:47:22 PST 2015
Author: arsenm
Date: Thu Feb 12 20:47:22 2015
New Revision: 229034
URL: http://llvm.org/viewvc/llvm-project?rev=229034&view=rev
Log:
R600/SI: Remove unnecessary check for fpimm
Modified:
llvm/trunk/lib/Target/R600/SIInstrInfo.cpp
Modified: llvm/trunk/lib/Target/R600/SIInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/SIInstrInfo.cpp?rev=229034&r1=229033&r2=229034&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/SIInstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/R600/SIInstrInfo.cpp Thu Feb 12 20:47:22 2015
@@ -1126,7 +1126,7 @@ bool SIInstrInfo::verifyInstruction(cons
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;
}
More information about the llvm-commits
mailing list