diff options
author | Sander de Smalen <sander.desmalen@arm.com> | 2021-02-11 08:14:15 +0000 |
---|---|---|
committer | Sander de Smalen <sander.desmalen@arm.com> | 2021-02-11 08:14:15 +0000 |
commit | 3b4f706ae16bb12b7d925fbf428def7cb2a6f7db (patch) | |
tree | c369f6bdebfcc741914044689d9f8c314376e8e1 /clang/unittests/Tooling/Syntax/BuildTreeTest.cpp | |
parent | 9325b8da1702238f15f837b6e07f099baf4dcd94 (diff) | |
download | llvm-3b4f706ae16bb12b7d925fbf428def7cb2a6f7db.zip llvm-3b4f706ae16bb12b7d925fbf428def7cb2a6f7db.tar.gz llvm-3b4f706ae16bb12b7d925fbf428def7cb2a6f7db.tar.bz2 |
[AArch64][SVE] Asm: Fix supported immediates for DUP/CPY
This patch fixes an issue in the implementation of DUP/CPY where certain
immediates were not accepted. Immediates should be interpreted as a two's
complement encoding of a value that fits the number of bits of the element
type.
mov z0.b, p0/z, #127
<=> mov z0.b, p0/z, #-129
<=> mov z0.b, p0/z, #0xffffffffffffff7f
This behaviour is in line with the GNU assembler.
Reviewed By: c-rhodes
Differential Revision: https://reviews.llvm.org/D94776
Diffstat (limited to 'clang/unittests/Tooling/Syntax/BuildTreeTest.cpp')
0 files changed, 0 insertions, 0 deletions