[UnifyLoopExits] Use poison instead of undef as placeholder [NFC]
authorNuno Lopes <nuno.lopes@tecnico.ulisboa.pt>
Sat, 22 Jul 2023 21:38:10 +0000 (22:38 +0100)
committerNuno Lopes <nuno.lopes@tecnico.ulisboa.pt>
Sat, 22 Jul 2023 21:38:10 +0000 (22:38 +0100)
commit9007d0e0b6456424d81c89cf78ca9a3b01a61fed
tree957c0430f77c34e79f2bc3b19e199ee8232d5a13
parent1844d64818fb602804034f62757f5e10ab29ce7c
[UnifyLoopExits] Use poison instead of undef as placeholder [NFC]
This pass creates phi nodes where only one of the incoming values is used.
The remaining ones can be poison.
llvm/lib/Transforms/Utils/UnifyLoopExits.cpp
llvm/test/Transforms/UnifyLoopExits/restore-ssa.ll