[clang] [llvm] [mlir] [x86][AVX-VNNI] Fix VPDPBXXD Argument Type (PR #159222)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 17 04:39:08 PDT 2025


================
@@ -594,6 +594,50 @@ static bool upgradeX86IntrinsicFunction(Function *F, StringRef Name,
     return false; // No other 'x86.avx512.*'.
   }
 
+  if (Name.consume_front("avx2.")) {
----------------
phoebewang wrote:

How about `Name.consume_front("avx2.vpdpb")`? We don't need `starts_with` then.

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


More information about the llvm-commits mailing list