This is an archive of the discontinued LLVM Phabricator instance.

[Loads] Handle addrspacecast constant expressions when determining dereferenceability
ClosedPublic

Authored by aeubanks on Nov 16 2021, 11:06 AM.

Diff Detail

Event Timeline

aeubanks created this revision.Nov 16 2021, 11:06 AM
aeubanks requested review of this revision.Nov 16 2021, 11:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 16 2021, 11:06 AM
This revision is now accepted and ready to land.Nov 16 2021, 11:16 AM
This revision was landed with ongoing or failed builds.Nov 16 2021, 11:20 AM
This revision was automatically updated to reflect the committed changes.
tra added inline comments.Nov 16 2021, 11:59 AM
llvm/lib/Analysis/Loads.cpp
150

Do we need/want to handle Instr variant as well? Or does AddrSpaceCastOperator handle both ASC variants?

aeubanks added inline comments.Nov 16 2021, 12:08 PM
llvm/lib/Analysis/Loads.cpp
150

yes AddrSpaceCastOperator handles both