[all-commits] [llvm/llvm-project] a01c00: [ConstantFolding] Constant folding for integer vec...
David Green via All-commits
all-commits at lists.llvm.org
Fri May 29 09:59:13 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a01c0049b1a3583604259ae7bbe9761fc123adae
https://github.com/llvm/llvm-project/commit/a01c0049b1a3583604259ae7bbe9761fc123adae
Author: David Green <david.green at arm.com>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
A llvm/test/Analysis/ConstantFolding/vecreduce.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list