[llvm] [AArch64][GISel] Always fold G_SHL into addressing mode where possible, unless the subtarget has addr-lsl-slow-14 (PR #96603)
Thorsten Schütt via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 28 09:53:48 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.
----------------
tschuett wrote:
folding
https://github.com/llvm/llvm-project/pull/96603
More information about the llvm-commits
mailing list