[llvm-commits] [llvm] r39773 - in /llvm/trunk/test/CodeGen/PowerPC: 2006-01-20-ShiftPartsCrash.ll 2006-08-15-SelectionCrash.ll or-addressing-mode.ll

Chris Lattner clattner at apple.com
Thu Jul 12 08:40:06 PDT 2007


> URL: http://llvm.org/viewvc/llvm-project?rev=39773&view=rev
> Log:
> fix the remaining 3 testcases that missed a target triple

> ====================================================================== 
> ========
> --- llvm/trunk/test/CodeGen/PowerPC/or-addressing-mode.ll (original)
> +++ llvm/trunk/test/CodeGen/PowerPC/or-addressing-mode.ll Thu Jul  
> 12 08:21:08 2007
> @@ -1,5 +1,5 @@
> -; RUN: llvm-upgrade < %s | llvm-as | llc | not grep ori
> -; RUN: llvm-upgrade < %s | llvm-as | llc | not grep rlwimi
> +; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=powerpc-apple- 
> darwin8 | not grep ori
> +; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=powerpc-apple- 
> darwin8 | not grep rlwimi

This one is fine, as you need PPC code for this test to be testing  
the right thing.  Thanks!

> --- llvm/trunk/test/CodeGen/PowerPC/2006-01-20-ShiftPartsCrash.ll  
> (original)
> +++ llvm/trunk/test/CodeGen/PowerPC/2006-01-20-ShiftPartsCrash.ll  
> Thu Jul 12 08:21:08 2007
> @@ -1,4 +1,4 @@
> -; RUN: llvm-upgrade < %s | llvm-as | llc
> +; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=powerpc-apple- 
> darwin8
>

> --- llvm/trunk/test/CodeGen/PowerPC/2006-08-15-SelectionCrash.ll  
> (original)
> +++ llvm/trunk/test/CodeGen/PowerPC/2006-08-15-SelectionCrash.ll  
> Thu Jul 12 08:21:08 2007
> @@ -1,4 +1,4 @@
> -; RUN: llvm-upgrade < %s | llvm-as | llc
> +; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=powerpc-apple- 
> darwin8

However, these two don't seem to be PPC specific.  Do you need to add  
the triple here?  If so, something else is probably going wrong.  If  
the triple isn't needed, please remove it.

Thanks Gabor!

-Chris



More information about the llvm-commits mailing list