[llvm-commits] [llvm] r62682 - /llvm/trunk/test/CodeGen/CellSPU/shift_ops.ll

Nick Lewycky nicholas at mxc.ca
Wed Jan 21 19:51:26 PST 2009


Thanks for this, Duncan! This had been bugging me for a while, but I 
never figured out a fix for it.

Nick

Duncan Sands wrote:
> Author: baldrick
> Date: Wed Jan 21 03:41:42 2009
> New Revision: 62682
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=62682&view=rev
> Log:
> Don't rely on grep -w working.
> 
> Modified:
>     llvm/trunk/test/CodeGen/CellSPU/shift_ops.ll
> 
> Modified: llvm/trunk/test/CodeGen/CellSPU/shift_ops.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/CellSPU/shift_ops.ll?rev=62682&r1=62681&r2=62682&view=diff
> 
> ==============================================================================
> --- llvm/trunk/test/CodeGen/CellSPU/shift_ops.ll (original)
> +++ llvm/trunk/test/CodeGen/CellSPU/shift_ops.ll Wed Jan 21 03:41:42 2009
> @@ -1,20 +1,20 @@
>  ; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
> -; RUN: grep -w shlh      %t1.s | count 9
> -; RUN: grep -w shlhi     %t1.s | count 3
> -; RUN: grep -w shl       %t1.s | count 9
> -; RUN: grep -w shli      %t1.s | count 3
> -; RUN: grep -w xshw      %t1.s | count 5
> -; RUN: grep -w and       %t1.s | count 5
> -; RUN: grep -w andi      %t1.s | count 2
> -; RUN: grep -w rotmi     %t1.s | count 2
> -; RUN: grep -w rotqmbyi  %t1.s | count 1
> -; RUN: grep -w rotqmbii  %t1.s | count 2
> -; RUN: grep -w rotqmby   %t1.s | count 1
> -; RUN: grep -w rotqmbi   %t1.s | count 1
> -; RUN: grep -w rotqbyi   %t1.s | count 1
> -; RUN: grep -w rotqbii   %t1.s | count 2
> -; RUN: grep -w rotqbybi  %t1.s | count 1
> -; RUN: grep -w sfi       %t1.s | count 3
> +; RUN: grep {shlh	}  %t1.s | count 9
> +; RUN: grep {shlhi	}  %t1.s | count 3
> +; RUN: grep {shl	}  %t1.s | count 9
> +; RUN: grep {shli	}  %t1.s | count 3
> +; RUN: grep {xshw	}  %t1.s | count 5
> +; RUN: grep {and	}  %t1.s | count 5
> +; RUN: grep {andi	}  %t1.s | count 2
> +; RUN: grep {rotmi	}  %t1.s | count 2
> +; RUN: grep {rotqmbyi	}  %t1.s | count 1
> +; RUN: grep {rotqmbii	}  %t1.s | count 2
> +; RUN: grep {rotqmby	}  %t1.s | count 1
> +; RUN: grep {rotqmbi	}  %t1.s | count 1
> +; RUN: grep {rotqbyi	}  %t1.s | count 1
> +; RUN: grep {rotqbii	}  %t1.s | count 2
> +; RUN: grep {rotqbybi	}  %t1.s | count 1
> +; RUN: grep {sfi	}  %t1.s | count 3
>  
>  target datalayout = "E-p:32:32:128-f64:64:128-f32:32:128-i64:32:128-i32:32:128-i16:16:128-i8:8:128-i1:8:128-a0:0:128-v128:128:128-s0:128:128"
>  target triple = "spu"
> 
> 
> _______________________________________________
> 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