Replacing the following instances of UndefValue with PoisonValue, where the UndefValue is used as an arbitrary value.
llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
- @cleanup if the result is not used then the inserted instructions are removed, RAUW arbitrary value
llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
- @FoldSingleEntryPHINodes when we have a self referential single entry phi node, RAUW arbitrary value
llvm/lib/Transforms/Utils/CallGraphUpdater.cpp
- @finalize Remove all references to removed functions RAUW arbitrary value
llvm/tools/bugpoint/CrashDebugger.cpp
- @TestInts the program is cloned and instructions are removed to narrow down source of crash, RAUW arbitrary value
llvm/lib/CodeGen/WinEHPrepare.cpp
- @demotePHIsOnFunclets RAUW arbitrary value for lingering uses of removed PHI nodes