[X86] Remove disabled miscompiling X86CondBrFolding pass
authorRoman Lebedev <lebedev.ri@gmail.com>
Tue, 28 Jul 2020 20:35:04 +0000 (23:35 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Tue, 28 Jul 2020 20:35:04 +0000 (23:35 +0300)
commite1dd212c874c2ff01b72e9e60db6dbded9e2e6d1
treefa572f7a531410fc7ad5ba2d8fc9a985bfec8176
parent26fc91eb5d26fb8bc3ab5328e698c9c1d9546b44
[X86] Remove disabled miscompiling X86CondBrFolding pass

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.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D84775
llvm/lib/Target/X86/CMakeLists.txt
llvm/lib/Target/X86/X86.h
llvm/lib/Target/X86/X86.td
llvm/lib/Target/X86/X86CondBrFolding.cpp [deleted file]
llvm/lib/Target/X86/X86Subtarget.h
llvm/lib/Target/X86/X86TargetMachine.cpp
llvm/lib/Target/X86/X86TargetTransformInfo.h
llvm/test/CodeGen/X86/condbr_if.ll [deleted file]
llvm/test/CodeGen/X86/condbr_switch.ll [deleted file]
llvm/test/CodeGen/X86/test_x86condbr_globaladdr.mir [deleted file]
llvm/utils/gn/secondary/llvm/lib/Target/X86/BUILD.gn