================
@@ -988,6 +988,22 @@ static bool upgradeArmOrAarch64IntrinsicFunction(bool 
IsArm, Function *F,
         return true;
       }
 
+      // Check for the trailing '.' to avoid matching sminv, sminp, etc.
+      if (Name.starts_with("smax.") || Name.starts_with("smin.") ||
+          Name.starts_with("umax.") || Name.starts_with("umin.")) {
----------------
osa1 wrote:

Thanks, fixed.

https://github.com/llvm/llvm-project/pull/225339
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to