llvm-project/llvm/tools/bugpoint
Manuel Brito b51c6130ef Use PoisonValue instead of UndefValue when RAUWing unreachable code [NFC]
Replacing the following instances of UndefValue with PoisonValue, where the UndefValue is used as an arbitrary value:

- llvm/lib/CodeGen/WinEHPrepare.cpp
`demotePHIsOnFunclets`: RAUW arbitrary value for lingering uses of removed PHI nodes

 - llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
`FoldSingleEntryPHINodes`: Removes a self-referential single entry phi node.

 - llvm/lib/Transforms/Utils/CallGraphUpdater.cpp
`finalize`: Remove all references to removed functions.

- llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
`cleanup`: the result is not used then the inserted instructions are removed.

 - llvm/tools/bugpoint/CrashDebugger.cpp
`TestInts`:  the program is cloned and instructions are removed to narrow down source of crash.

Differential Revision: https://reviews.llvm.org/D133640
2022-09-10 14:28:01 +01:00
..
BugDriver.cpp
BugDriver.h [llvm] Remove unused forward declarations (NFC) 2022-01-07 20:00:34 -08:00
CMakeLists.txt
CrashDebugger.cpp Use PoisonValue instead of UndefValue when RAUWing unreachable code [NFC] 2022-09-10 14:28:01 +01:00
ExecutionDriver.cpp Remove unneeded cl::ZeroOrMore for cl::opt/cl::list options 2022-06-05 01:07:51 -07:00
ExtractFunction.cpp
FindBugs.cpp [llvm] Use true/false instead of 1/0 (NFC) 2022-01-07 00:39:14 -08:00
ListReducer.h
Miscompilation.cpp [llvm] Use true/false instead of 1/0 (NFC) 2022-01-07 00:39:14 -08:00
OptimizerDriver.cpp Remove unneeded cl::ZeroOrMore for cl::opt/cl::list options 2022-06-05 00:31:44 -07:00
ToolRunner.cpp [bugpoint] Fix repeated off-by-one error in debug output 2021-11-08 23:44:45 +00:00
ToolRunner.h
bugpoint.cpp Remove unnecessary includes of ManagedStatic.h 2022-07-07 14:29:20 +02:00