[llvm] [X86] Fix optmasks handling for AVX10.1-256 (PR #73074)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 5 16:09:26 PST 2023


================
@@ -939,7 +939,8 @@ std::vector<MCInst> ExegesisX86Target::setRegTo(const MCSubtargetInfo &STI,
       }
       break;
     case 64:
-      if (STI.getFeatureBits()[X86::FeatureBWI]) {
+      if (STI.getFeatureBits()[X86::FeatureBWI] &&
+          STI.getFeatureBits()[X86::FeatureEVEX512]) {
----------------
boomanaiden154 wrote:

Ah. Didn't realize that. Thanks for looking.

https://github.com/llvm/llvm-project/pull/73074


More information about the llvm-commits mailing list