[all-commits] [llvm/llvm-project] d7853b: [ARM] Generate VDUP(Const) from constant buildvectors
David Green via All-commits
all-commits at lists.llvm.org
Tue Jun 8 12:52:29 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d7853bae941006cece63013f09d524e72bbbec45
https://github.com/llvm/llvm-project/commit/d7853bae941006cece63013f09d524e72bbbec45
Author: David Green <david.green at arm.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/predicated-liveout-unknown-lanes.ll
M llvm/test/CodeGen/Thumb2/mve-fp16convertloops.ll
M llvm/test/CodeGen/Thumb2/mve-gather-scatter-tailpred.ll
M llvm/test/CodeGen/Thumb2/mve-pred-vctpvpsel.ll
M llvm/test/CodeGen/Thumb2/mve-shifts.ll
M llvm/test/CodeGen/Thumb2/mve-vmovimm.ll
M llvm/test/CodeGen/Thumb2/mve-vmvnimm.ll
Log Message:
-----------
[ARM] Generate VDUP(Const) from constant buildvectors
If we cannot otherwise use a VMOVimm/VMOVFPimm/VMVNimm, fall back to
producing a VDUP(const) as opposed to a constant pool load. This will at
least be smaller codesize and can allow the VDUP to be folded into other
instructions.
Differential Revision: https://reviews.llvm.org/D103808
More information about the All-commits
mailing list