HomePhabricator

[MachineCSE][NFC]: Refactor and comment on preventing CSE for isConvergent…

Authored by mkitzan on Apr 30 2021, 7:50 PM.

Description

[MachineCSE][NFC]: Refactor and comment on preventing CSE for isConvergent instrs

  • Move the code preventing CSE of isConvergent instrs into ProcessBlockCSE (from isProfitableToCSE)
  • Add comments explaining why isConvergent is used to prevent CSE of non-local instrs in MachineCSE and the new test

Details

Committed
mkitzanMay 5 2021, 2:22 PM
Parents
rG78a7d8c4dd10: [Utils][NFC] Rename replace-function-regex in update_cc_test_checks
Branches
Unknown
Tags
Unknown