This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Improve support for ADD_UW/SHXADD_UW in isAllUsesReadW.
ClosedPublic

Authored by craig.topper on Nov 4 2022, 10:45 AM.

Details

Summary

The first use operand of these is implicitly zero extended. We
can consider that a W read. If the use is the other operand, we
need to look through the instruction.

Diff Detail

Event Timeline

craig.topper created this revision.Nov 4 2022, 10:45 AM
craig.topper requested review of this revision.Nov 4 2022, 10:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 4 2022, 10:45 AM
asb accepted this revision.Nov 8 2022, 3:06 AM

LGTM.

This revision is now accepted and ready to land.Nov 8 2022, 3:06 AM
This revision was landed with ongoing or failed builds.Nov 9 2022, 11:33 AM
This revision was automatically updated to reflect the committed changes.