[PATCH] D54237: Constant folding and instcombine for saturating adds
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 8 02:26:18 PST 2018
nikic updated this revision to Diff 173134.
nikic added a comment.
Address style comments, move trivial transforms to InstructionSimplify, add APInt unit test, move code for overflow information based checks outside the condition for a constant operand (duh).
https://reviews.llvm.org/D54237
Files:
include/llvm/ADT/APInt.h
lib/Analysis/ConstantFolding.cpp
lib/Analysis/InstructionSimplify.cpp
lib/Support/APInt.cpp
lib/Transforms/InstCombine/InstCombineCalls.cpp
test/Transforms/InstCombine/saturating-add.ll
unittests/ADT/APIntTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54237.173134.patch
Type: text/x-patch
Size: 11769 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181108/fa47b543/attachment.bin>
More information about the llvm-commits
mailing list