This is an archive of the discontinued LLVM Phabricator instance.

[NFC][OpaquePtr] Explicitly pass GEP source type in optimizeGatherScatterInst()
ClosedPublic

Authored by aeubanks on Jun 1 2021, 11:51 AM.

Diff Detail

Event Timeline

aeubanks created this revision.Jun 1 2021, 11:51 AM
aeubanks requested review of this revision.Jun 1 2021, 11:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 1 2021, 11:51 AM
craig.topper added inline comments.Jun 11 2021, 11:17 AM
llvm/lib/CodeGen/CodeGenPrepare.cpp
5601

assert the else path is masked_scatter? Or pass the type down from the caller like we do with the pointer operand.

aeubanks updated this revision to Diff 351514.Jun 11 2021, 11:31 AM

add assert

This revision is now accepted and ready to land.Jun 11 2021, 11:33 AM
This revision was landed with ongoing or failed builds.Jun 11 2021, 11:50 AM
This revision was automatically updated to reflect the committed changes.