[llvm] Replace `UndefValue` placeholders with `PoisonValue` in unit tests [NFC] ...
commit64b9753d03946d8100e017a5cc4861d5d671c6d0
authorLee Wei <lee10202013@gmail.com>
Sat, 16 Nov 2024 20:01:27 +0000 (16 13:01 -0700)
committerGitHub <noreply@github.com>
Sat, 16 Nov 2024 20:01:27 +0000 (16 20:01 +0000)
treed8c03b6fa6adbf40649d18e80c596ec8cc6d8b39
parent58a971f42f1f2b2e25995c8cad439f4aa07c024d
[llvm] Replace `UndefValue` placeholders with `PoisonValue` in unit tests [NFC] (#116453)

This PR replaces all `UndefValue` act as placeholders with `PoisonValue`
in `llvm/unittests`.
llvm/unittests/Analysis/BranchProbabilityInfoTest.cpp
llvm/unittests/Analysis/MemorySSATest.cpp
llvm/unittests/Analysis/ScalarEvolutionTest.cpp
llvm/unittests/IR/BasicBlockTest.cpp
llvm/unittests/Transforms/Utils/ScalarEvolutionExpanderTest.cpp