[LLVMdev] powerpc XFAIL question

Konstantin Tokarev annulen at yandex.ru
Mon Aug 27 08:26:38 PDT 2012



27.08.2012, 17:57, "William J. Schmidt" <wschmidt at linux.vnet.ibm.com>:
> Hi all,
>
> I'm investigating the following test case that reports as an unexpected
> pass on powerpc64-unknown-linux-gnu.
>
>     Clang : CodeGenCXX/member-alignment.cpp
>
> This test case is marked as XFAIL for arm and powerpc. However, the test
> passes fine for powerpc64-unknown-linux-gnu. There are two tests of this
> form:
>
>         void
>         t::bar(void) {
>         // CHECK: _ZN1t3barEv{{.*}} align 2
>         }
>
> For these member functions, the "align 2" clause is output as it's
> supposed to be, and the final alignment generated for Clang and GCC is
> identical.
>
> Question:  Does anyone know on what flavor of powerpc this is expected
> to fail, and why?  Or should I just remove powerpc from the XFAIL list
> for this test?

It was marked as XFAIL by Bill Wendling in


commit 0fffe21b65831d84ac7b33fffe04b2b78f1ba3dc
Author: Bill Wendling <isanbard at gmail.com>
Date:   Wed Oct 21 21:09:48 2009 +0000

    XFAIL this test for PPC.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84782 91177308-0d34-0410-b5e6-96231b3b80d8

diff --git a/test/FrontendC++/member-alignment.cpp b/test/FrontendC++/member-alignment.cpp
index 01c90ca..6afc0aa 100644
--- a/test/FrontendC++/member-alignment.cpp
+++ b/test/FrontendC++/member-alignment.cpp
@@ -1,5 +1,5 @@
 // RUN: %llvmgxx -S -emit-llvm %s -o - | FileCheck %s
-// XFAIL: arm
+// XFAIL: arm,powerpc
 
 // rdar://7268289

-- 
Regards,
Konstantin



More information about the llvm-dev mailing list