diff options
author | Paul Walker <paul.walker@arm.com> | 2020-07-04 09:17:53 +0000 |
---|---|---|
committer | Paul Walker <paul.walker@arm.com> | 2020-07-04 09:21:40 +0000 |
commit | 7356b4243ad9dc373c63bb4b7ac0ba4f877c47ee (patch) | |
tree | 1a1769ed682b968dc25611f646f79ff3d657e8fe /clang/lib/Frontend | |
parent | 15a60fe09f4618a7fb451f37aebfd1a671f83713 (diff) | |
download | llvm-7356b4243ad9dc373c63bb4b7ac0ba4f877c47ee.zip llvm-7356b4243ad9dc373c63bb4b7ac0ba4f877c47ee.tar.gz llvm-7356b4243ad9dc373c63bb4b7ac0ba4f877c47ee.tar.bz2 |
[SVE] Fix invalid assert in expand_DestructiveOp.
AArch64ExpandPseudo::expand_DestructiveOp contains an assert to
ensure the destructive operand's register is unique. However,
this is only required when psuedo expansion emits a movprfx.
A simple example when a movprfx is not required is
Z0 = FADD_ZPZZ_UNDEF_S P0, Z0, Z0
which expands to an unprefixed FADD_ZPmZ_S instruction.
This patch moves the assert to the places where a movprfx is emitted.
Differential Revision: https://reviews.llvm.org/D83029
Diffstat (limited to 'clang/lib/Frontend')
0 files changed, 0 insertions, 0 deletions