OSDN Git Service

InstCombine: Preserve nuw when reassociating nuw ops [2/3]
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 24 Jun 2019 21:37:02 +0000 (21:37 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 24 Jun 2019 21:37:02 +0000 (21:37 +0000)
commit7b5347fa6b503489a4a02c4585ef72c3cea11714
tree84dcb3daf7eee6534ac8ceba4339e2e83ad19abc
parentc110ca7e66fb660570c61b92874ae99590b737f1
InstCombine: Preserve nuw when reassociating nuw ops [2/3]

Alive says this is OK.

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