[all-commits] [llvm/llvm-project] 86dea1: [ValueTracking] Improve llvm.abs handling in compu...
topperc via All-commits
all-commits at lists.llvm.org
Fri Jul 31 15:56:00 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 86dea1f39bd127776b999e10dff212003068d30a
https://github.com/llvm/llvm-project/commit/86dea1f39bd127776b999e10dff212003068d30a
Author: Craig Topper <craig.topper at intel.com>
Date: 2020-07-31 (Fri, 31 Jul 2020)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/test/Transforms/InstCombine/abs-intrinsic.ll
Log Message:
-----------
[ValueTracking] Improve llvm.abs handling in computeKnownBits.
Add the optimizations we have in the SelectionDAG version.
Known non-negative copies all known bits. Any known one other than
the sign bit makes result non-negative.
Differential Revision: https://reviews.llvm.org/D85000
More information about the All-commits
mailing list