This is an archive of the discontinued LLVM Phabricator instance.

[AssumeBundles] adapte GVN to assume bundles
ClosedPublic

Authored by Tyker on Apr 3 2020, 8:19 AM.

Details

Summary

prevent GVN from removing assume bundles
make GVN preserve information from removed instructions

Diff Detail

Event Timeline

Tyker created this revision.Apr 3 2020, 8:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 3 2020, 8:19 AM

We need a test with an existing assume + op bundles to verify it is not eliminated.

llvm/test/Analysis/BasicAA/featuretest.ll
182

We will need a filter during creation to avoid trivial assumes (like these ones). We also need a pass to move, eliminate and merge them.

Tyker updated this revision to Diff 256062.Apr 8 2020, 10:21 AM

added test for already existing bundle.

This revision is now accepted and ready to land.Apr 8 2020, 2:40 PM
This revision was automatically updated to reflect the committed changes.