aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/X86FoldTablesEmitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/TableGen/X86FoldTablesEmitter.cpp')
-rw-r--r--utils/TableGen/X86FoldTablesEmitter.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/TableGen/X86FoldTablesEmitter.cpp b/utils/TableGen/X86FoldTablesEmitter.cpp
index b89cee2ce4bb..34f5fbc6ea31 100644
--- a/utils/TableGen/X86FoldTablesEmitter.cpp
+++ b/utils/TableGen/X86FoldTablesEmitter.cpp
@@ -101,6 +101,11 @@ const char *const NoFoldSet[] = {
"BTS16rr", "BTS32rr", "BTS64rr",
"BTS16mr", "BTS32mr", "BTS64mr",
+ // insertps cannot be folded without adjusting the immediate. There's custom
+ // code to handle it in X86InstrInfo.cpp, ignore it here.
+ "INSERTPSrr", "INSERTPSrm",
+ "VINSERTPSrr", "VINSERTPSrm", "VINSERTPSZrr", "VINSERTPSZrm",
+
// Memory folding is enabled only when optimizing for size by DAG
// patterns only. (issue detailed in D28744 review)
"VCVTSS2SDrm", "VCVTSS2SDrr",