diff options
author | Fraser Cormack <fraser@codeplay.com> | 2021-06-07 11:19:20 +0100 |
---|---|---|
committer | Fraser Cormack <fraser@codeplay.com> | 2021-06-07 15:14:00 +0100 |
commit | ae3f6de3a856006601cbca81ebf9780a2534bdcc (patch) | |
tree | 3384cce993810f255637f42f33002c61db0b83b2 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | ade4662c44f7dc9b0e32f38746e74241d7330253 (diff) | |
download | llvm-ae3f6de3a856006601cbca81ebf9780a2534bdcc.zip llvm-ae3f6de3a856006601cbca81ebf9780a2534bdcc.tar.gz llvm-ae3f6de3a856006601cbca81ebf9780a2534bdcc.tar.bz2 |
[InstCombine] Support negation of scalable-vector splats
This patch is an extension of D103421. It allows the InstCombiner to
generate the negated form of integer scalable-vector splats. It can
technically handle fixed-length vectors too but those are completely
covered by the preceding logic.
This enables extra combining opportunities for scalable vector types.
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D103801
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions