diff options
author | Sergei Barannikov <barannikov88@gmail.com> | 2023-01-23 16:52:20 +0300 |
---|---|---|
committer | Sergei Barannikov <barannikov88@gmail.com> | 2023-01-25 20:44:00 +0300 |
commit | 1799a714a7a77ba6feaf33e09c554c6127ebbae6 (patch) | |
tree | 44ce3576ce26131d58636d8e2ffa838999d41279 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp | |
parent | b1a34b242fb96ddedf34045d415cbb807534d733 (diff) | |
download | llvm-1799a714a7a77ba6feaf33e09c554c6127ebbae6.zip llvm-1799a714a7a77ba6feaf33e09c554c6127ebbae6.tar.gz llvm-1799a714a7a77ba6feaf33e09c554c6127ebbae6.tar.bz2 |
[llvm-ml] Disallow '{' and '}' at the start of a statement
'{', '}' and (conditionally) '*' were allowed at the start of a
statement. This behavior was copied from AsmParser, where they were
added to support Hexagon bundles (braces) and BFP memory instructions
(the star).
MASM dialect is x86-specific and does not allow these symbols to be
used at the beginning of an instruction.
Worth noting that '{' is a valid first character in AT&T syntax
(e.g. "{vex} vpmadd52huq ..."); MASM variant is to omit the braces.
Reviewed By: epastor
Differential Revision: https://reviews.llvm.org/D142321
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions