This is an archive of the discontinued LLVM Phabricator instance.

[Attributor] Utilize the InstSimplify interface to simplify instructions
ClosedPublic

Authored by jdoerfert on Jul 16 2021, 2:13 PM.

Details

Summary

When we simplify at least one operand in the Attributor simplification
we can use the InstSimplify to work on the simplified operands. This
allows us to avoid duplication of the logic.

Depends on D106189

Diff Detail

Event Timeline

jdoerfert created this revision.Jul 16 2021, 2:13 PM
jdoerfert requested review of this revision.Jul 16 2021, 2:13 PM
Herald added a reviewer: baziotis. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: bbn. · View Herald Transcript
jdoerfert updated this revision to Diff 359448.Jul 16 2021, 2:18 PM

Use renamed API, update tests, remove fixme

kuter accepted this revision.Jul 26 2021, 3:20 PM

LGTM

This revision is now accepted and ready to land.Jul 26 2021, 3:20 PM
This revision was landed with ongoing or failed builds.Jul 26 2021, 10:57 PM
This revision was automatically updated to reflect the committed changes.