diff options
author | Luís Marques <luismarques@lowrisc.org> | 2022-01-19 21:55:35 +0000 |
---|---|---|
committer | Luís Marques <luismarques@lowrisc.org> | 2022-01-19 21:56:21 +0000 |
commit | a767ae2c5ce7615c188baabd3b6a52bb880de234 (patch) | |
tree | 7604f1e8c5fdf8f1b9364ec7c7aa2d9467a307f7 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 86cdff0e21237fb0e880b2f52aa30e0d8f1084fa (diff) | |
download | llvm-a767ae2c5ce7615c188baabd3b6a52bb880de234.zip llvm-a767ae2c5ce7615c188baabd3b6a52bb880de234.tar.gz llvm-a767ae2c5ce7615c188baabd3b6a52bb880de234.tar.bz2 |
[RISCV] Fix incomplete asm statement parsing
For instructions without operands, the final `AsmToken::EndOfStatement`
wasn't being consumed. In the context of inline assembly, the resulting
empty statements would cause extraneous empty lines to be emitted. Fix
the issue by consuming the `EndOfStatement` token.
Differential Revision: https://reviews.llvm.org/D117565
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions