[all-commits] [llvm/llvm-project] 8b76d3: [asm] Allow block address operands in `asm inteldi...
Nico Weber via All-commits
all-commits at lists.llvm.org
Fri Nov 19 06:28:04 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8b76d33c593984a0fda6d756ee266d3eaa4b3b1b
https://github.com/llvm/llvm-project/commit/8b76d33c593984a0fda6d756ee266d3eaa4b3b1b
Author: Nico Weber <thakis at chromium.org>
Date: 2021-11-19 (Fri, 19 Nov 2021)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
M llvm/test/CodeGen/X86/callbr-asm.ll
Log Message:
-----------
[asm] Allow block address operands in `asm inteldialect`
This makes the following program build with -masm=intel:
int foo(int count) {
asm goto ("dec %0; jb %l[stop]" : "+r" (count) : : : stop);
return count;
stop:
return 0;
}
It's also is another step towards merging EmitGCCInlineAsmStr() and
EmitMSInlineAsmStr().
Differential Revision: https://reviews.llvm.org/D114167
More information about the All-commits
mailing list