This is an archive of the discontinued LLVM Phabricator instance.

Drop some typed pointer handling
ClosedPublic

Authored by bjope on Jul 31 2023, 1:49 PM.

Diff Detail

Event Timeline

bjope created this revision.Jul 31 2023, 1:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 31 2023, 1:49 PM
bjope requested review of this revision.Jul 31 2023, 1:49 PM
Herald added a reviewer: sstefan1. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
jdoerfert accepted this revision.Jul 31 2023, 6:05 PM

Assuming this passes the tests, LGB

This revision is now accepted and ready to land.Jul 31 2023, 6:05 PM
fhahn accepted this revision.Aug 1 2023, 12:41 AM
fhahn added a subscriber: fhahn.

LGTM, thanks!

nikic added a subscriber: nikic.Aug 1 2023, 12:53 AM
nikic added inline comments.
llvm/lib/Analysis/InstructionSimplify.cpp
6063

Side-note: ConstantFoldLoadFromConstPtr() has an overload that accepts the offset as an APInt. That would be a bit nicer than creating a GEP here.

This revision was landed with ongoing or failed builds.Aug 2 2023, 3:10 AM
This revision was automatically updated to reflect the committed changes.