[PATCH] D59511: [ValueTracking][InstSimplify] Move abs handling into computeConstantRange(); NFC
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 18 13:48:44 PDT 2019
nikic created this revision.
nikic added reviewers: lebedev.ri, spatel, tejohnson.
Herald added subscribers: llvm-commits, jdoerfert, hiraditya.
Herald added a project: LLVM.
This is preparation for D59506 <https://reviews.llvm.org/D59506>. The InstructionSimplify abs handling is moved into computeConstantRange(), which is the general place for such calculations. This is NFC and doesn't affect the existing tests in test/Transforms/InstSimplify/icmp-abs-nabs.ll.
Repository:
rL LLVM
https://reviews.llvm.org/D59511
Files:
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/lib/Analysis/ValueTracking.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59511.191163.patch
Type: text/x-patch
Size: 4228 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190318/8e62341e/attachment.bin>
More information about the llvm-commits
mailing list