aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/TargetLoweringObjectFile.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2020-05-29 16:26:44 +0100
committerDavid Green <david.green@arm.com>2020-05-29 17:58:42 +0100
commita01c0049b1a3583604259ae7bbe9761fc123adae (patch)
treec9a1e9d463e7c5260c06c2361e3aea7b69978aab /llvm/lib/Target/TargetLoweringObjectFile.cpp
parentc1a33299768f8404dd7b83a6cfef7c1155786c6a (diff)
downloadllvm-a01c0049b1a3583604259ae7bbe9761fc123adae.zip
llvm-a01c0049b1a3583604259ae7bbe9761fc123adae.tar.gz
llvm-a01c0049b1a3583604259ae7bbe9761fc123adae.tar.bz2
[ConstantFolding] Constant folding for integer vector reduce intrinsics
This add constant folding for all the integer vector reduce intrinsics, providing that the argument is a constant vector. zeroinitializer always produces 0 for all intrinsics, and other values can be handled with APInt operators. Differential Revision: https://reviews.llvm.org/D80516
Diffstat (limited to 'llvm/lib/Target/TargetLoweringObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions