mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
TableGen for fast isel seems to assume an 'imm'
operand is the last in a pattern. There is no reason this should be true (although apparently it always is right now). llvm-svn: 72232
This commit is contained in:
parent
b32b64b5b4
commit
16fd5641ad
@ -82,11 +82,11 @@ struct OperandsSignature {
|
||||
if (!Op->isLeaf()) {
|
||||
if (Op->getOperator()->getName() == "imm") {
|
||||
Operands.push_back("i");
|
||||
return true;
|
||||
continue;
|
||||
}
|
||||
if (Op->getOperator()->getName() == "fpimm") {
|
||||
Operands.push_back("f");
|
||||
return true;
|
||||
continue;
|
||||
}
|
||||
// For now, ignore other non-leaf nodes.
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user