[PATCH] Add NSW/NUW flags in InstCombine
Joey Gouly
joey.gouly at arm.com
Tue Dec 17 08:20:56 PST 2013
Add the NSW or NUW flags in cases that we can detect will not produce an overflow.
Patch by Georgia Kouveli!
http://llvm-reviews.chandlerc.com/D2426
Files:
lib/Transforms/InstCombine/InstCombine.h
lib/Transforms/InstCombine/InstCombineAddSub.cpp
lib/Transforms/InstCombine/InstructionCombining.cpp
test/Transforms/InstCombine/cast.ll
test/Transforms/InstCombine/ffs-1.ll
test/Transforms/InstCombine/rem.ll
test/Transforms/InstCombine/select.ll
test/Transforms/InstCombine/sext.ll
test/Transforms/InstCombine/zext-bool-add-sub.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2426.1.patch
Type: text/x-patch
Size: 11414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131217/9d134aca/attachment.bin>
More information about the llvm-commits
mailing list