[InstCombine] Add baseline tests for nsw/nuw (NFC)
authorEric Gullufsen <ericgullufsen@gmail.com>
Tue, 4 Apr 2023 18:30:14 +0000 (14:30 -0400)
committerEric Gullufsen <ericgullufsen@gmail.com>
Wed, 5 Apr 2023 14:12:54 +0000 (10:12 -0400)
commite63902128f8800b231d22aea88a9d3f38eecd172
treed7750ff8b276f57629b18a4f436011b3fd02aa14
parent2f21659ee9c27c672bbc6c602936852d4807eb59
[InstCombine] Add baseline tests for nsw/nuw (NFC)

nsw/nuw flags are currently not preserved when canonicalizing,
adding baseline tests here and subsequent patch will fix.

Differential Revision: https://reviews.llvm.org/D147566
llvm/test/Transforms/InstCombine/and-xor-or.ll