[PATCH] D158510: [InstCombine] Propagate nsw flag when negating

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 14 00:09:58 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1fc73cacb206: [InstCombine] Propagate nsw flag when negating (authored by nikic).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158510/new/

https://reviews.llvm.org/D158510

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
  llvm/lib/Transforms/InstCombine/InstCombineInternal.h
  llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  llvm/lib/Transforms/InstCombine/InstCombineNegator.cpp
  llvm/test/Transforms/InstCombine/abs-intrinsic.ll
  llvm/test/Transforms/InstCombine/mul.ll
  llvm/test/Transforms/InstCombine/nsw.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158510.556744.patch
Type: text/x-patch
Size: 20650 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230914/2c6434ba/attachment.bin>


More information about the llvm-commits mailing list