aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2024-11-15 17:29:35 +0100
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2024-11-15 17:39:04 +0100
commit798a8941824dc2f83a169812e0edf7971d5f772b (patch)
tree6986032ef92618401ee670c210aa20e55132f21a /clang/lib/CodeGen/CodeGenFunction.cpp
parent3eb1bc5edfc69895bfdc0a8ddd31af3969e6aacc (diff)
downloadllvm-798a8941824dc2f83a169812e0edf7971d5f772b.zip
llvm-798a8941824dc2f83a169812e0edf7971d5f772b.tar.gz
llvm-798a8941824dc2f83a169812e0edf7971d5f772b.tar.bz2
[SystemZ] Fix address operand parsing incompatibilities with GAS
The LLVM AsmParser showed different behavior compared to GAS when parsing address operands in the following two ways: - If the address operand only has a single register (no comma), it is always interpreted as base register by GAS, even in the vector-index case (vgef etc.) This means the following is actually incorrect usage, as the base cannot be a vector register: vgef %v0, 0(%v1), 0. - GAS allows specifying a missing base register by using a comma after the first register, e.g. vgef %v0, 0(%v1,), 0.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions