summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-03-13 05:34:03 +0000
committerCraig Topper <craig.topper@gmail.com>2017-03-13 05:34:03 +0000
commitbb4089d260bfb0b447e1a675ece5555ae7a9fc4a (patch)
tree22d38eb5776c8d98a2bdf2736a0cc1a001f6f2ca /llvm/utils
parent48ba1e2d66741ab5c6f4dea8a4dd88168244bcaa (diff)
downloadbcm5719-llvm-bb4089d260bfb0b447e1a675ece5555ae7a9fc4a.tar.gz
bcm5719-llvm-bb4089d260bfb0b447e1a675ece5555ae7a9fc4a.zip
Revert "[AVX-512] EVEX2VEX, don't reject intrinsic instructions when both have a memory operand. We should just continue to check other operands instead."
This reverts r297596. There were other issues that were making this not work that have been fixed now. Reverting this results in a more accurate table. llvm-svn: 297602
Diffstat (limited to 'llvm/utils')
-rw-r--r--llvm/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp b/llvm/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp
index 142a969d340..1fe9cd6864f 100644
--- a/llvm/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp
+++ b/llvm/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp
@@ -72,8 +72,7 @@ private:
"VPSRAQ",
"VDBPSADBW",
"VRNDSCALE",
- "VSCALEFPS",
- "VSCALEFSS",
+ "VSCALEFPS"
};
bool inExceptionList(const CodeGenInstruction *Inst) {
@@ -243,7 +242,7 @@ public:
if (getRegOperandSize(OpRec1) != getRegOperandSize(OpRec2))
return false;
} else if (isMemoryOperand(OpRec1) && isMemoryOperand(OpRec2)) {
- continue;
+ return false;
} else if (isImmediateOperand(OpRec1) && isImmediateOperand(OpRec2)) {
if (OpRec1->getValueAsDef("Type") != OpRec2->getValueAsDef("Type"))
return false;
OpenPOWER on IntegriCloud