diff options
author | Matt Devereau <matthew.devereau@arm.com> | 2022-10-12 09:20:05 +0000 |
---|---|---|
committer | Matt Devereau <matthew.devereau@arm.com> | 2022-11-02 11:57:05 +0000 |
commit | 957eed0b1af2cb88edafe1ff2643a38165c67a40 (patch) | |
tree | 45de0933a2a0ad9334ea1508f360f5b6af5119e2 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 093200fd00ff5d3a615410ce66d666467629a10b (diff) | |
download | llvm-957eed0b1af2cb88edafe1ff2643a38165c67a40.zip llvm-957eed0b1af2cb88edafe1ff2643a38165c67a40.tar.gz llvm-957eed0b1af2cb88edafe1ff2643a38165c67a40.tar.bz2 |
[InstCombine] Remove redundant splats in InstCombineVectorOps
Splatting the first vector element of the result of a BinOp, where any of the
BinOp's operands are the result of a first vector element splat can be simplified to
splatting the first vector element of the result of the BinOp
Differential Revision: https://reviews.llvm.org/D135876
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions