This is an archive of the discontinued LLVM Phabricator instance.

[DAGCombiner] Add use check for VSCALE in visitSUB.
ClosedPublic

Authored by Jimerlife on Aug 18 2022, 2:13 AM.

Details

Summary

If there are multiple uses of VSCALE, then it may be more beneficial to keep origin form.

Diff Detail

Event Timeline

Jimerlife created this revision.Aug 18 2022, 2:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 18 2022, 2:13 AM
Jimerlife requested review of this revision.Aug 18 2022, 2:13 AM

test case?

I add precommit tests D132116. After tests landed, I will rebase this patch.

Jimerlife updated this revision to Diff 453603.Aug 18 2022, 3:07 AM

rebase test

david-arm accepted this revision.Aug 18 2022, 3:16 AM

LGTM! Seems like a sensible change.

This revision is now accepted and ready to land.Aug 18 2022, 3:16 AM
This revision was landed with ongoing or failed builds.Aug 18 2022, 7:06 PM
This revision was automatically updated to reflect the committed changes.