[PATCH] Fixing inst-combine not to drops nsw when combining adds into mul (PR19263)

Dinesh Dwivedi dinesh.d at samsung.com
Thu Jun 19 01:12:58 PDT 2014


Thanks for review. I have updated cast<BinaryOperator>(SimplifiedInst) to use dyn_cast.

http://reviews.llvm.org/D3799

Files:
  lib/Transforms/InstCombine/InstCombineAddSub.cpp
  lib/Transforms/InstCombine/InstructionCombining.cpp
  test/Transforms/InstCombine/add2.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3799.10613.patch
Type: text/x-patch
Size: 14188 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140619/88042b8d/attachment.bin>


More information about the llvm-commits mailing list