[InstCombine] Use CreateNonTerminatorUnreachable() helper
authorNikita Popov <npopov@redhat.com>
Thu, 22 Jun 2023 10:23:46 +0000 (12:23 +0200)
committerNikita Popov <npopov@redhat.com>
Thu, 22 Jun 2023 10:30:13 +0000 (12:30 +0200)
commitc01054cc4722978d2585516c69264bcd9fddde97
tree15fb2c5a32b505499f8443629bbe66ec87262522
parent5cd16e2cb7207a70a61d1221464b17dcaf3c7f29
[InstCombine] Use CreateNonTerminatorUnreachable() helper

Create the standard non-terminator unreachable, rather than a
slight variation on it.
llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
llvm/test/Transforms/InstCombine/atomic.ll
llvm/test/Transforms/InstCombine/getelementptr.ll
llvm/test/Transforms/InstCombine/load.ll
llvm/test/Transforms/InstCombine/pr44245.ll
llvm/test/Transforms/InstCombine/struct-assign-tbaa-new.ll
llvm/test/Transforms/InstCombine/struct-assign-tbaa.ll