[llvm] [SystemZ] Enable MachineCombiner for FP reassociation (PR #83546)
Jonas Paulsson via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 20 01:32:51 PDT 2024
JonPsson1 wrote:
Updated tests: anyregcc.ll and stackmap.ll.
> Also, if we use the approach below to have optimizeLoadInstr call foldMemoryOperand, then we already get the CC handling in foldMemoryOperandImpl, so wouldn't have to duplicate the implementation.
I think we need two different implementations: One quick if LiveIntervals is available ("FI version"), and one that does the scan ("MI version"). Even though there is the LIS argument to the "MI version", it is optional and null as this is still on SSA form.
https://github.com/llvm/llvm-project/pull/83546
More information about the llvm-commits
mailing list