diff options
author | Rosie Sumpter <rosie.sumpter@arm.com> | 2022-06-30 12:15:00 +0100 |
---|---|---|
committer | Rosie Sumpter <rosie.sumpter@arm.com> | 2022-07-12 09:27:59 +0100 |
commit | e5edc1b5eecfb8abc4e6d4d385da7ed0b456579c (patch) | |
tree | ec8af83e46f3552dce6da917ad6ab043a37743da /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 767b26a4e2e54bcf1df1163e0e55c278e3acef7e (diff) | |
download | llvm-e5edc1b5eecfb8abc4e6d4d385da7ed0b456579c.zip llvm-e5edc1b5eecfb8abc4e6d4d385da7ed0b456579c.tar.gz llvm-e5edc1b5eecfb8abc4e6d4d385da7ed0b456579c.tar.bz2 |
[AArch64][SVE] Ensure PTEST operands have type nxv16i1
Currently any legal predicate types will be pattern-matched when
creating a PTEST instruction. This could be a problem in future since
PTEST always uses the .B specifier for the operand, but it is not
always guaranteed that the extra lanes of unpacked types (e.g. nxv4i1)
are zero. This patch ensures the operands of PTEST are type nxv16i1,
where the undef lanes are set to zero.
Differential Revision: https://reviews.llvm.org/D129282/
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions