This is an archive of the discontinued LLVM Phabricator instance.

[X86] Remove disabled miscompiling X86CondBrFolding pass
ClosedPublic

Authored by lebedev.ri on Jul 28 2020, 10:37 AM.

Details

Summary

As briefly discussed in IRC with @craig.topper,
the pass is disabled basically since it's original introduction (nov 2018)
due to known correctness issues (miscompilations),
and there hasn't been much work done to fix that.

While i won't promise that i will "fix" the pass,
i have looked at it previously, and i'm sure i won't try to fix it
if that requires actually fixing this existing code.

Diff Detail

Event Timeline

lebedev.ri created this revision.Jul 28 2020, 10:37 AM
lebedev.ri requested review of this revision.Jul 28 2020, 10:37 AM
This revision is now accepted and ready to land.Jul 28 2020, 1:15 PM
This revision was landed with ongoing or failed builds.Jul 28 2020, 1:35 PM
This revision was automatically updated to reflect the committed changes.
llvm/test/CodeGen/X86/condbr_switch.ll