This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel] Don't form zero/sign extending loads for atomics
ClosedPublic

Authored by aemerson on May 5 2021, 11:40 AM.

Details

Summary

For importing patterns, we only support matching G_LOAD, not G_ZEXTLOAD or G_SEXTLOAD.

Diff Detail

Event Timeline

aemerson created this revision.May 5 2021, 11:40 AM
aemerson requested review of this revision.May 5 2021, 11:40 AM
aemerson updated this revision to Diff 343540.May 6 2021, 5:05 PM

Hadn't rerun test since an update. Move check to before the LI check so that it runs unconditionally.

This revision is now accepted and ready to land.May 7 2021, 12:05 PM