This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Pre-sink IR input for some tests
ClosedPublic

Authored by foad on Jul 20 2022, 6:56 AM.

Details

Summary

Edit the IR input for some codegen tests to simulate what the IR code
sinking pass would do to it. This makes the tests immune to the presence
or absence of the code sinking pass in the codegen pass pipeline, which
does not belong there.

Diff Detail

Event Timeline

foad created this revision.Jul 20 2022, 6:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 20 2022, 6:56 AM
foad requested review of this revision.Jul 20 2022, 6:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 20 2022, 6:56 AM
nhaehnle accepted this revision.Jul 20 2022, 7:02 AM
nhaehnle added a subscriber: nhaehnle.

LGTM

This revision is now accepted and ready to land.Jul 20 2022, 7:02 AM
foad updated this revision to Diff 446452.Jul 21 2022, 5:44 AM

Add combine-reg-or-const.ll

arsenm accepted this revision.Jul 21 2022, 5:55 AM
This revision was landed with ongoing or failed builds.Jul 21 2022, 6:27 AM
This revision was automatically updated to reflect the committed changes.