[all-commits] [llvm/llvm-project] b51c61: Use PoisonValue instead of UndefValue when RAUWing...
ManuelJBrito via All-commits
all-commits at lists.llvm.org
Sat Sep 10 06:28:45 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b51c6130efac2afd183ad71b81c16c713c10a1b5
https://github.com/llvm/llvm-project/commit/b51c6130efac2afd183ad71b81c16c713c10a1b5
Author: Manuel Brito <manuel.brito at tecnico.ulisboa.pt>
Date: 2022-09-10 (Sat, 10 Sep 2022)
Changed paths:
M llvm/lib/CodeGen/WinEHPrepare.cpp
M llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
M llvm/lib/Transforms/Utils/CallGraphUpdater.cpp
M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
M llvm/tools/bugpoint/CrashDebugger.cpp
Log Message:
-----------
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
More information about the All-commits
mailing list