This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine] Don't drop operand bundles
ClosedPublic

Authored by sanjoy on Nov 19 2015, 8:31 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

sanjoy updated this revision to Diff 40737.Nov 19 2015, 8:31 PM
sanjoy retitled this revision from to [InstCombine] Don't drop operand bundles.
sanjoy updated this object.
sanjoy added a reviewer: majnemer.
sanjoy added a subscriber: llvm-commits.
sanjoy added inline comments.Nov 19 2015, 8:32 PM
lib/Transforms/InstCombine/InstCombineCalls.cpp
2272 ↗(On Diff #40737)

This loop is repeated at one other place (InlineFunction, I think). In a separate change, I'll extract this loop out into a helper function.

majnemer accepted this revision.Nov 24 2015, 2:20 PM
majnemer edited edge metadata.

LGTM

This revision is now accepted and ready to land.Nov 24 2015, 2:20 PM
This revision was automatically updated to reflect the committed changes.