[llvm] [llvm][NFC] Refactor AutoUpgrader arm/aarch64 (PR #74145)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 8 11:49:11 PST 2023


================
@@ -621,6 +621,318 @@ static bool UpgradeX86IntrinsicFunction(Function *F, StringRef Name,
   return false;
 }
 
+// Upgrade ARM (IsArm) or Aarch64 (!IsArm) intrinsic fns. Return true iff so.
+// IsArm: 'arm.*', !IsArm: 'aarch64.*'.
+static bool UpgradeArmOrAarch64IntrinsicFunction(bool IsArm, Function *F,
----------------
nikic wrote:

A separate patch is fine.

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


More information about the llvm-commits mailing list