summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
diff options
context:
space:
mode:
authorGeorge Karpenkov <ekarpenkov@apple.com>2017-11-09 19:06:22 +0000
committerGeorge Karpenkov <ekarpenkov@apple.com>2017-11-09 19:06:22 +0000
commitbbb66ad7b2daba4b6f7ccfb8d15fa656c99ef00b (patch)
tree2260c5f08a00ea03b45c8a1e9f76db52b549fe8c /llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
parentc019c39f4f75320aefb4142fffc2f3c3cea44e9e (diff)
downloadbcm5719-llvm-bbb66ad7b2daba4b6f7ccfb8d15fa656c99ef00b.tar.gz
bcm5719-llvm-bbb66ad7b2daba4b6f7ccfb8d15fa656c99ef00b.zip
[analyzer] assume bitwise arithmetic axioms
Patches the solver to assume that bitwise OR of an unsigned value with a constant always produces a value larger-or-equal than the constant, and bitwise AND with a constant always produces a value less-or-equal than the constant. This patch is especially useful in the context of using bitwise arithmetic for error code encoding: the analyzer would be able to state that the error code produced using a bitwise OR is non-zero. Differential Revision: https://reviews.llvm.org/D39707 llvm-svn: 317820
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud