[llvm-dev] is clang9 supporting asm-goto?

Shawn Landden via llvm-dev llvm-dev at lists.llvm.org
Fri Jun 7 09:24:42 PDT 2019


On Fri, Jun 7, 2019 at 10:23 AM Mark Vegans via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
>
> Hi *,
> I have read several news [1 2 3 ] about clang supporting asm-goto. is that for real? :)
> so I tried to compile the Linux Kernel (master branch) with clang built from source, the actual version im using is the following:
>
> """
> clang version 9.0.0 (https://github.com/llvm/llvm-project.git f8ffb926e206982c57d862d12fe0004a135e014c)
> """
>
> but I still get "compiler lacks asm-goto support".
> what am I doing wrong?
see ./scripts/gcc-goto.sh

WIth clang-9 I get:
$ ./scripts/gcc-goto.sh clang-9
<stdin>:13:6: error: 'asm goto' constructs are not supported yet
        asm goto ("" :::: entry);
            ^
1 error generated.

>
> Thanks,
> best.
>
>
> [1] https://fosdem.org/2019/schedule/event/llvm_kernel/attachments/slides/3330/export/events/attachments/llvm_kernel/slides/3330/clang_linux_fosdem_19.pdf
> [2] https://www.phoronix.com/scan.php?page=news_item&px=LLVM-Asm-Goto-Merged
> [3] https://reviews.llvm.org/D56571
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev


More information about the llvm-dev mailing list