[all-commits] [llvm/llvm-project] 3533e0: [ARM] Add patterns for select(p, BinOp(x, y), z) -...
David Green via All-commits
all-commits at lists.llvm.org
Wed Jul 22 05:25:10 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 3533e0a08d00458efc28cf7d3faabb5a1721d245
https://github.com/llvm/llvm-project/commit/3533e0a08d00458efc28cf7d3faabb5a1721d245
Author: David Green <david.green at arm.com>
Date: 2020-07-22 (Wed, 22 Jul 2020)
Changed paths:
M llvm/lib/Target/ARM/ARMInstrMVE.td
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/cond-vector-reduce-mve-codegen.ll
M llvm/test/CodeGen/Thumb2/mve-pred-selectop.ll
M llvm/test/CodeGen/Thumb2/mve-pred-selectop2.ll
M llvm/test/CodeGen/Thumb2/mve-pred-selectop3.ll
M llvm/test/CodeGen/Thumb2/mve-vecreduce-addpred.ll
M llvm/test/CodeGen/Thumb2/mve-vecreduce-mlapred.ll
Log Message:
-----------
[ARM] Add patterns for select(p, BinOp(x, y), z) -> BinOpT(x, y,p z)
Most MVE instructions can be predicated to fold a select into the
instruction, using the predicate and the selects else as a passthough.
This adds tablegen patterns for most two operand instructions using the
newly added TwoOpPattern from 1030e82598da.
Differential Revision: https://reviews.llvm.org/D83222
More information about the All-commits
mailing list