Use %s instead of hard coding the input filename.
This allows the test to work when srcdir != objdir.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23775 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/PowerPC/rlwinm.ll b/test/CodeGen/PowerPC/rlwinm.ll
index b64db00..b16b905 100644
--- a/test/CodeGen/PowerPC/rlwinm.ll
+++ b/test/CodeGen/PowerPC/rlwinm.ll
@@ -1,9 +1,9 @@
 ; All of these ands and shifts should be folded into rlwimi's
-; RUN: llvm-as < rlwinm.ll | llc -march=ppc32 | not grep and && 
-; RUN: llvm-as < rlwinm.ll | llc -march=ppc32 | not grep srawi && 
-; RUN: llvm-as < rlwinm.ll | llc -march=ppc32 | not grep srwi && 
-; RUN: llvm-as < rlwinm.ll | llc -march=ppc32 | not grep slwi && 
-; RUN: llvm-as < rlwinm.ll | llc -march=ppc32 | grep rlwinm | wc -l | grep 8
+; RUN: llvm-as < %s | llc -march=ppc32 | not grep and && 
+; RUN: llvm-as < %s | llc -march=ppc32 | not grep srawi && 
+; RUN: llvm-as < %s | llc -march=ppc32 | not grep srwi && 
+; RUN: llvm-as < %s | llc -march=ppc32 | not grep slwi && 
+; RUN: llvm-as < %s | llc -march=ppc32 | grep rlwinm | wc -l | grep 8
 
 implementation   ; Functions: