Page MenuHomePhabricator

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

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

Diff Detail

Event Timeline

aeubanks created this revision.Tue, Jun 1, 11:51 AM
aeubanks requested review of this revision.Tue, Jun 1, 11:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptTue, Jun 1, 11:51 AM
craig.topper added inline comments.Fri, Jun 11, 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.Fri, Jun 11, 11:31 AM

add assert

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