This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/SI: Change predicate to isCIOnly for 32-bit imm s_buffer_load* patterns
ClosedPublic

Authored by tstellar on Sep 25 2018, 6:57 AM.

Details

Summary

This is essentially NFC, because the complex pattern used for these patterns
will fail on non-CI, but this makes the pattern consistent with other CI
smrd patterns. It is also a performance improvement, because the pattern
will now fail earlier on non-CI.

Diff Detail

Event Timeline

tstellar created this revision.Sep 25 2018, 6:57 AM
arsenm accepted this revision.Sep 25 2018, 4:27 PM

LGTM

This revision is now accepted and ready to land.Sep 25 2018, 4:27 PM
This revision was automatically updated to reflect the committed changes.