[InstCombine] replace undef in vector tests with poison; NFC
authorSanjay Patel <spatel@rotateright.com>
Mon, 26 Dec 2022 17:34:47 +0000 (12:34 -0500)
committerSanjay Patel <spatel@rotateright.com>
Mon, 26 Dec 2022 18:16:03 +0000 (13:16 -0500)
commit00c7840115fb742cd7278a5b3f5337990429ca47
treeb95eda665b1f827a02b0668b386aa229b049b2d4
parentdfc20708bcdf7b4c4bea8595fc4ac8674634d5e6
[InstCombine] replace undef in vector tests with poison; NFC

I left a few of the existing undef tests in place for extra
coverage and because one of those was noted as a miscompile in
the post-commit feedback for d4493dd1ed58ac3f1eab0, but we are
transitioning to poison, so it is more valuable to test the
expected IR going forward.
llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v3-and-icmp-eq-to-icmp-ule.ll
llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v3-and-icmp-ne-to-icmp-ugt.ll
llvm/test/Transforms/InstCombine/icmp-uge-of-add-of-shl-one-by-bits-to-allones-and-val-to-icmp-eq-of-lshr-val-by-bits-and-0.ll
llvm/test/Transforms/InstCombine/icmp-ult-of-add-of-shl-one-by-bits-to-allones-and-val-to-icmp-ne-of-lshr-val-by-bits-and-0.ll
llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-a.ll
llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-a.ll
llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-a.ll
llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-a.ll
llvm/test/Transforms/InstCombine/shl-sub.ll