]> granicus.if.org Git - llvm/commit
InstCombine: Preserve nuw when reassociating nuw ops [3/3]
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 24 Jun 2019 21:37:03 +0000 (21:37 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 24 Jun 2019 21:37:03 +0000 (21:37 +0000)
commit8146d2023c9281dea9810212135283710e53451e
tree3088a55f6b612f826c0aa7cdeb93ebbeb6ddeb1e
parent7b5347fa6b503489a4a02c4585ef72c3cea11714
InstCombine: Preserve nuw when reassociating nuw ops [3/3]

Alive says this is OK.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364235 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstructionCombining.cpp
test/Transforms/InstCombine/reassociate-nuw.ll