[clang] [llvm] [LLVM][SVE] Remove aarch64.sve.rev intrinsic, using vector.reverse instead. (PR #169654)

Benjamin Maxwell via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 26 07:32:51 PST 2025


================
@@ -1015,6 +1015,14 @@ static bool upgradeArmOrAarch64IntrinsicFunction(bool IsArm, Function *F,
         }
         return false; // No other 'aarch64.sve.tuple.*'.
       }
+
+      if (Name.starts_with("rev.nxv")) {
----------------
MacDue wrote:

Maybe add a small test to: `llvm/test/Bitcode/upgrade-aarch64-sve-intrinsics.ll`?

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


More information about the llvm-commits mailing list