[llvm-dev] inline assembly matching error

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Thu Mar 14 02:13:06 PDT 2019


On Thu, 14 Mar 2019 at 00:15, Josh Sharp via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> How can I keep using uppercase characters? It seems to be a minor setting somewhere but can't find it.

It's not a setting, I'm afraid. LLVM can assemble both upper & lower
case instructions (as long as you're careful), but the underlying
definition has to be in lower-case. The most obvious example of this
is lib/MC/MCParser/AsmParser.cpp:2182 (in function parseStatement)
where the mnemonic always gets "lower" called on it before it's handed
off to the target.

Cheers.

Tim.


More information about the llvm-dev mailing list