This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine] Fold xor of icmps of power of 2
Needs ReviewPublic

Authored by StephenFan on Mar 21 2023, 11:45 PM.

Details

Reviewers
nikic
spatel
Summary

https://alive2.llvm.org/ce/z/HKt_Rg

The motivation to do this is D146149 caused a code size regression in
our ci https://github.com/dtcxzyw/llvm-ci/issues/23.

Diff Detail

Event Timeline

StephenFan created this revision.Mar 21 2023, 11:45 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 21 2023, 11:45 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
StephenFan requested review of this revision.Mar 21 2023, 11:45 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 21 2023, 11:45 PM

Rename some variables.