[llvm] [AArch64][GISel] Translate legal SVE formal arguments and select COPY for SVE (PR #95236)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 13 05:04:06 PDT 2024


================
@@ -525,10 +527,10 @@ static void handleMustTailForwardedRegisters(MachineIRBuilder &MIRBuilder,
 
 bool AArch64CallLowering::fallBackToDAGISel(const MachineFunction &MF) const {
   auto &F = MF.getFunction();
-  if (F.getReturnType()->isScalableTy() ||
+  if (!EnableSVEGISel && (F.getReturnType()->isScalableTy() ||
----------------
Him188 wrote:

No. I'm following the same idea from https://github.com/llvm/llvm-project/pull/92130#discussion_r1600378977 to enable SVE only with a debug option



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


More information about the llvm-commits mailing list