Add check so we don't try to perform an impossible transformation. Fixes issue from...
[oota-llvm.git] / test / CodeGen / X86 / fastcc-byval.ll
index 9f6649c3b1a3e1f74ada6ea6e79127dd1528d378..52b3e57b96bc5f41cd5dd2fe9d2279c0a9c88a47 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc | grep {movl\[\[:space:\]\]*8(%esp), %eax} | count 2
+; RUN: llc < %s -tailcallopt=false | grep {movl\[\[:space:\]\]*8(%esp), %eax} | count 2
 ; PR3122
 ; rdar://6400815