[llvm] [AArch64][GISel] Always fold G_SHL into addressing mode where possible, unless the subtarget has addr-lsl-slow-14 (PR #96603)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 1 05:50:43 PDT 2024
================
@@ -6717,19 +6722,70 @@ AArch64InstructionSelector::selectNegArithImmed(MachineOperand &Root) const {
return select12BitValueWithLeftShift(Immed);
}
+/// Checks if we are sure that folding MI into load/store addressing mode is
+/// beneficial or not.
+///
+/// Returns:
+/// - true if fodling MI would be beneficial.
----------------
Him188 wrote:
fixed
https://github.com/llvm/llvm-project/pull/96603
More information about the llvm-commits
mailing list