Check that a function starts with llvm. before using GET_FUNCTION_RECOGNIZER.
[oota-llvm.git] / test / CodeGen / X86 / 2003-08-03-CallArgLiveRanges.ll
index 24848602baf849e9931a51f09b748f81da87d53d..cb90bf644d5f21782962a90438c297bf18d68154 100644 (file)
@@ -1,9 +1,12 @@
+; REQUIRES: asserts
 ; The old instruction selector used to load all arguments to a call up in 
 ; registers, then start pushing them all onto the stack.  This is bad news as
 ; it makes a ton of annoying overlapping live ranges.  This code should not
 ; cause spills!
 ;
-; RUN: llc < %s -march=x86 -stats |& not grep spilled
+; RUN: llc < %s -march=x86 -stats 2>&1 | FileCheck %s
+
+; CHECK-NOT: spilled
 
 target datalayout = "e-p:32:32"