This is an archive of the discontinued LLVM Phabricator instance.

[SimplifyCFG] Delete the unnecessary range check for small mask operation
AbandonedPublic

Authored by Allen on Sep 1 2023, 9:04 PM.

Details

Summary

When the small mask value little than 64, we can eliminate the checking
for upper limit of the range by enlarge the lookup table size to its next
pow2 value.

Fixes https://github.com/llvm/llvm-project/issues/65120

Diff Detail

Event Timeline

Allen created this revision.Sep 1 2023, 9:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 1 2023, 9:04 PM
Allen requested review of this revision.Sep 1 2023, 9:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 1 2023, 9:04 PM

@Allen abandon this? AFAICT this was re-submitted as a github PR: https://github.com/llvm/llvm-project/pull/65835

Allen abandoned this revision.Sep 20 2023, 3:03 AM

Yes, thanks