Open kavon opened 7 years ago
IMO, the CSE happening in isel as a side-effect of the design of SDNode is not a good idea. It causes the store/load of a constant across a call, when it's better to rematieralize it.
the pre-isel pass i added works around this, but maybe its worth filing a report with upsteam.
Probably worth waiting for gobal isel to land though?
IMO, the CSE happening in isel as a side-effect of the design of SDNode is not a good idea. It causes the store/load of a constant across a call, when it's better to rematieralize it.