This is an archive of the discontinued LLVM Phabricator instance.

[LowerTypeTests] Ignore llvm.assume users through phis
AbandonedPublic

Authored by aeubanks on May 23 2022, 11:10 AM.

Details

Reviewers
tejohnson
pcc
Summary

When checking for type tests that only have assume users, we should look
through phis since we may have merged two assumes through a phi.

This makes it so we also ignore type tests that don't have any users, so
add some users into some existing tests.

Diff Detail

Unit TestsFailed

Event Timeline

aeubanks created this revision.May 23 2022, 11:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 23 2022, 11:10 AM
aeubanks requested review of this revision.May 23 2022, 11:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 23 2022, 11:10 AM

as somebody unfamiliar with WPD/CFI, is it necessary that they use the same llvm.type.test mechanism?

aeubanks abandoned this revision.Jun 16 2022, 10:18 AM