[PATCH] D147566: [InstCombine] Add baseline tests for nsw/nuw (NFC)

Eric Gullufsen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 4 13:19:25 PDT 2023


emgullufsen created this revision.
emgullufsen added reviewers: spatel, bcl5980.
Herald added a subscriber: StephenFan.
Herald added a project: All.
emgullufsen requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

nsw/nuw flags are currently not preserved when canonicalizing,
adding baseline tests here and subsequent patch will fix.
Alive2 verification for add,or -> or,add where add has nsw flag <https://alive2.llvm.org/ce/z/ptw6Mx>


https://reviews.llvm.org/D147566

Files:
  llvm/test/Transforms/InstCombine/and-xor-or.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147566.510908.patch
Type: text/x-patch
Size: 8701 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230404/6b8cb000/attachment.bin>


More information about the llvm-commits mailing list