[Mlir-commits] [llvm] [mlir] [IR] Autoupgrade trivial VP intrinsics to their non-VP counterparts (PR #212490)
Nikita Popov
llvmlistbot at llvm.org
Mon Aug 17 03:50:22 PDT 2026
================
@@ -1288,6 +1288,150 @@ static bool consumeNVVMPtrAddrSpace(StringRef &Name) {
Name.consume_front("param");
}
+static unsigned getFunctionalOpcodeForVP(StringRef Name) {
+ if (!Name.consume_front("vp."))
+ return 0;
+ if (Name.starts_with("select"))
----------------
nikic wrote:
Could use StringSwitch for these.
(Or maybe not, because of the fmuladd special case?)
https://github.com/llvm/llvm-project/pull/212490
More information about the Mlir-commits
mailing list