summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2018-02-19 18:08:16 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2018-02-19 18:08:16 +0000
commit70eb508605562978d81fc1110a770ba97715f994 (patch)
treebf93d15b7874c2344826da40031bd8a9ae1e60c4 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent4c4a9835a2854590f38b88e9e7c4daf780dee0f9 (diff)
downloadbcm5719-llvm-70eb508605562978d81fc1110a770ba97715f994.tar.gz
bcm5719-llvm-70eb508605562978d81fc1110a770ba97715f994.zip
[SelectionDAG] ComputeKnownBits - add support for SMIN+SMAX clamp patterns
If we have a clamp pattern, SMIN(SMAX(X, LO),HI) or SMAX(SMIN(X, HI),LO) then we can deduce that the number of signbits (zeros/ones) will be at least the minimum of the LO and HI constants. ComputeKnownBits equivalent of D43338. Differential Revision: https://reviews.llvm.org/D43463 llvm-svn: 325521
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud