diff options
author | Nico Weber <thakis@chromium.org> | 2021-11-18 11:38:52 -0500 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2021-11-19 09:27:30 -0500 |
commit | 8b76d33c593984a0fda6d756ee266d3eaa4b3b1b (patch) | |
tree | d3a2fe6f33a9f64b55f9618f1784c98275ca09d4 /pstl | |
parent | bc20bcb39e02e7b593fe0f50fe47959b635f5e56 (diff) | |
download | llvm-8b76d33c593984a0fda6d756ee266d3eaa4b3b1b.tar.gz |
[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
Diffstat (limited to 'pstl')
0 files changed, 0 insertions, 0 deletions