[NFC] Remove straight UB from SROA tests
authorNuno Lopes <nuno.lopes@tecnico.ulisboa.pt>
Mon, 13 Jun 2022 07:59:07 +0000 (08:59 +0100)
committerNuno Lopes <nuno.lopes@tecnico.ulisboa.pt>
Mon, 13 Jun 2022 07:59:07 +0000 (08:59 +0100)
commit5a132499fb39c1dee15a1bc4ff0246c6f1282871
tree475fd7ce0bb2d5809cce8bd1ef5ffbbde0de8249
parent6e930503f4585a3e708b03fe96df68e4fddba3e4
[NFC] Remove straight UB from SROA tests
Including 'br undef', store/load to undef pointers.
Plus some cosmetics: select undef, insertvalue undef -> poison.

Recommit c1b6103 with fix.
17 files changed:
llvm/test/Transforms/SROA/address-spaces.ll
llvm/test/Transforms/SROA/addrspacecast.ll
llvm/test/Transforms/SROA/alloca-address-space.ll
llvm/test/Transforms/SROA/assume.ll
llvm/test/Transforms/SROA/basictest-opaque-ptrs.ll
llvm/test/Transforms/SROA/basictest.ll
llvm/test/Transforms/SROA/dbg-single-piece.ll
llvm/test/Transforms/SROA/dead-inst.ll
llvm/test/Transforms/SROA/fca.ll
llvm/test/Transforms/SROA/phi-and-select.ll
llvm/test/Transforms/SROA/phi-gep.ll
llvm/test/Transforms/SROA/phi-with-duplicate-pred.ll
llvm/test/Transforms/SROA/select-gep.ll
llvm/test/Transforms/SROA/select-load.ll
llvm/test/Transforms/SROA/vector-promotion-different-size.ll
llvm/test/Transforms/SROA/vector-promotion.ll
llvm/test/Transforms/SROA/vectors-of-pointers.ll