[all-commits] [llvm/llvm-project] 868da2: [SelectionDAG] Remove an early-out from computeKno...
Jay Foad via All-commits
all-commits at lists.llvm.org
Thu Jan 14 10:15:50 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 868da2ea939baf8c71a6dcb878cf6094ede9486e
https://github.com/llvm/llvm-project/commit/868da2ea939baf8c71a6dcb878cf6094ede9486e
Author: Jay Foad <jay.foad at amd.com>
Date: 2021-01-14 (Thu, 14 Jan 2021)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/test/CodeGen/X86/known-bits-vector.ll
Log Message:
-----------
[SelectionDAG] Remove an early-out from computeKnownBits for smin/smax
Even if we know nothing about LHS, it can still be useful to know that
smax(LHS, RHS) >= RHS and smin(LHS, RHS) <= RHS.
Differential Revision: https://reviews.llvm.org/D87145
More information about the All-commits
mailing list