- (op (op X, C1), C2) -> (op X, (op C1, C2)) - (op (op X, C1), Y) -> (op (op X, Y), C1)
Some code duplication with the G_PTR_ADD reassociations unfortunately but no
easy way to avoid it that I can see.
Differential D150230
[GlobalISel] Implement some binary reassociations, G_ADD for now aemerson on May 9 2023, 3:19 PM. Authored by
Details - (op (op X, C1), C2) -> (op X, (op C1, C2)) - (op (op X, C1), Y) -> (op (op X, Y), C1) Some code duplication with the G_PTR_ADD reassociations unfortunately but no
Diff Detail
Event TimelineComment Actions @arsenm The AMDGPU/GlobalISel/regbankselect-amdgcn.s.buffer.load.ll test is failing but trying to run update_mir_test_checks.py fails with some error. Can you take a look to see if it's an issue with the test?
Comment Actions @arsenm ping. Do you know why the AMDGPU test doesn't work with update_mir_test_checks? Comment Actions What is the error? update_mir_test_checks is pretty buggy with multiple run lines and multiple checks. I sometimes need to delete individual run lines to get it t work
|