]> granicus.if.org Git - llvm/commit
InstCombine: Preserve nuw when reassociating nuw ops [1/3]
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 24 Jun 2019 21:36:59 +0000 (21:36 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 24 Jun 2019 21:36:59 +0000 (21:36 +0000)
commitc110ca7e66fb660570c61b92874ae99590b737f1
tree674a3ca7ac9083eb8208aa48e211cce95f8656da
parentaeafce571950d364393749e0c7c62c0a09c9632c
InstCombine: Preserve nuw when reassociating nuw ops [1/3]

Alive says this is OK.

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