llvm-project
6c32a1fd - [SystemZ] Enable MachineCombiner for FP reassociation (#83546)

Commit
1 year ago
[SystemZ] Enable MachineCombiner for FP reassociation (#83546) Enable MachineCombining for FP add, sub and mul. In order for this to work, the default instruction selection of reg/mem opcodes is disabled for ISD nodes that carry the flags that allow reassociation. The reg/mem folding is instead done after MachineCombiner by PeepholeOptimizer. SystemZInstrInfo optimizeLoadInstr() and foldMemoryOperandImpl() ("LoadMI version") have been implemented for this purpose also by this patch.
Author
Parents
Loading