This is an archive of the discontinued LLVM Phabricator instance.

PredicateInfo: Convert test to opaque pointers
ClosedPublic

Authored by arsenm on Nov 28 2022, 5:49 AM.

Details

Reviewers
fhahn
nikic
Summary

Drops the "has predicate info" for the first block.

Diff Detail

Event Timeline

arsenm created this revision.Nov 28 2022, 5:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 28 2022, 5:49 AM
arsenm requested review of this revision.Nov 28 2022, 5:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 28 2022, 5:49 AM
Herald added a subscriber: wdng. · View Herald Transcript
nikic added inline comments.Dec 5 2022, 3:03 AM
llvm/test/Transforms/Util/PredicateInfo/unnamed-types.ll
31–32

We need a use of %arg here. With the bitcast gone, adding %u2 = call ptr @fun(ptr %arg) should do.

arsenm updated this revision to Diff 480097.Dec 5 2022, 7:09 AM
arsenm marked an inline comment as done.

Add new user

nikic accepted this revision.Dec 5 2022, 7:11 AM

LG

This revision is now accepted and ready to land.Dec 5 2022, 7:11 AM