Since NC, OC, and XC clobber CC, the EXRL_Pseudo targeting these must also be
marked to do so.
Patch by uweigand.
Paths
| Differential D150251
[SystemZ] Bugfix in expansion of memmem operations. ClosedPublic Authored by jonpa on May 10 2023, 12:31 AM.
Details Summary Since NC, OC, and XC clobber CC, the EXRL_Pseudo targeting these must also be Patch by uweigand.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 10 2023, 1:34 AM This revision was landed with ongoing or failed builds.May 10 2023, 2:06 AM Closed by commit rG00454a17f361: [SystemZ] Bugfix in expansion of memmem operations. (authored by jonpa). · Explain Why This revision was automatically updated to reflect the committed changes. jonpa added a reverting change: rGdfa42a69b8fb: Revert "[SystemZ] Bugfix in expansion of memmem operations.".May 10 2023, 2:38 AM Comment Actions The new test case when run with expensive checks showed that the NoPHIs flag needs to be cleared. Not sure why this has not been reported before - perhaps due to the new .mir test case starting before finalize-isel. Should I pre-commit that and then also backport both patches? Alternatively, we could just stop the test after finalize-isel and make sure the CC operand is there as needed... This revision is now accepted and ready to land.May 10 2023, 2:57 AM Comment Actions Good catch, interesting that we didn't notice this before ... New version LGTM, thanks! This revision is now accepted and ready to land.May 10 2023, 3:09 AM This revision was landed with ongoing or failed builds.May 10 2023, 3:42 AM Closed by commit rG655f0fc4b96d: Reapply "[SystemZ] Bugfix in expansion of memmem operations." (authored by jonpa). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 520950 llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
llvm/test/CodeGen/SystemZ/memmem-exrl-cc.mir
|