[PATCH] D60728: [clang] [test] Add a (xfailing) test for PR41027
Adhemerval Zanella via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 7 13:10:40 PDT 2019
On 05/06/2019 05:19, Michał Górny via Phabricator via llvm-commits wrote:
> This revision was automatically updated to reflect the committed changes.
> Closed by commit rL362587: [clang] [test] Add a (xfailing) test for PR41027 (authored by mgorny, committed by ).
> Herald added a project: LLVM.
> Herald added a subscriber: llvm-commits.
>
> Changed prior to commit:
> https://reviews.llvm.org/D60728?vs=195518&id=203097#toc
>
> Repository:
> rL LLVM
>
> CHANGES SINCE LAST ACTION
> https://reviews.llvm.org/D60728/new/
>
> https://reviews.llvm.org/D60728
>
> Files:
> cfe/trunk/test/Sema/pr41027.c
This patch is failing on aarch64-linux bot [1], I think you need to add a
'requires: x86_64'.
[1] http://lab.llvm.org:8011/builders/clang-cmake-aarch64-full/builds/7694
>
>
> Index: cfe/trunk/test/Sema/pr41027.c
> ===================================================================
> --- cfe/trunk/test/Sema/pr41027.c
> +++ cfe/trunk/test/Sema/pr41027.c
> @@ -0,0 +1,10 @@
> +// RUN: %clang_cc1 -triple x86_64 -fsyntax-only %s
> +// XFAIL: *
> +
> +inline void pr41027(unsigned a, unsigned b) {
> + if (__builtin_constant_p(a)) {
> + __asm__ volatile("outl %0,%w1" : : "a"(b), "n"(a));
> + } else {
> + __asm__ volatile("outl %0,%w1" : : "a"(b), "d"(a));
> + }
> +}
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
More information about the llvm-commits
mailing list