[llvm-commits] [llvm] r76823 - /llvm/trunk/test/CodeGen/PowerPC/private.ll

Chris Lattner clattner at apple.com
Thu Jul 23 19:59:37 PDT 2009


On Jul 22, 2009, at 5:09 PM, Dan Gohman wrote:

> Author: djg
> Date: Wed Jul 22 19:09:46 2009
> New Revision: 76823
>
> URL: http://llvm.org/viewvc/llvm-project?rev=76823&view=rev
> Log:
> Revert r75663 (and r76805), as it is causing regressions on powerpc.

Hi Dan,

Are you looking into this?  My understanding is that this test is  
exposing nondeterminism in the backend.  Is there a bug tracking this?

-Chris

>
> Modified:
>    llvm/trunk/test/CodeGen/PowerPC/private.ll
>
> Modified: llvm/trunk/test/CodeGen/PowerPC/private.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/private.ll?rev=76823&r1=76822&r2=76823&view=diff
>
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- llvm/trunk/test/CodeGen/PowerPC/private.ll (original)
> +++ llvm/trunk/test/CodeGen/PowerPC/private.ll Wed Jul 22 19:09:46  
> 2009
> @@ -1,32 +1,24 @@
> ; Test to make sure that the 'private' is used correctly.
> ;
> -; RUN: llvm-as < %s | llc -mtriple=powerpc-unknown-linux-gnu - 
> march=ppc32 | FileCheck %s -check-prefix=LINUX
> -; RUN: llvm-as < %s | llc -mtriple=powerpc-apple-darwin - 
> march=ppc32 | FileCheck %s -check-prefix=DARWIN
> +; RUN: llvm-as < %s | llc -mtriple=powerpc-unknown-linux-gnu > %t
> +; RUN: grep .Lfoo: %t
> +; RUN: grep bl.*\.Lfoo %t
> +; RUN: grep .Lbaz: %t
> +; RUN: grep lis.*\.Lbaz %t
> +; RUN: llvm-as < %s | llc -mtriple=powerpc-apple-darwin > %t
> +; RUN: grep L_foo: %t
> +; RUN: grep bl.*\L_foo %t
> +; RUN: grep L_baz: %t
> +; RUN: grep lis.*\L_baz %t
>
> define private void @foo() nounwind {
>         ret void
> -; LINUX: .Lfoo:
> -
> -; DARWIN: L_foo:
> }
>
> + at baz = private global i32 4;
> +
> define i32 @bar() nounwind {
>         call void @foo()
> 	%1 = load i32* @baz, align 4
>         ret i32 %1
> -; LINUX: bar:
> -; LINUX: bl .Lfoo
> -; LINUX: lis 3, .Lbaz at ha
> -; LINUX: lwz 3, .Lbaz at l(3)
> -
> -; DARWIN: _bar:
> -; DARWIN: bl L_foo
> -; DARWIN: lis r2, ha16(L_baz)
> -; DARWIN: lwz r3, lo16(L_baz)(r2)
> }
> -
> -
> -; LINUX: .Lbaz:
> -; DARWIN: L_baz:
> - at baz = private global i32 4
> -
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list