Fix the success criteria for the test to make call instructions with "pow"
authorReid Spencer <rspencer@reidspencer.com>
Fri, 29 Apr 2005 10:11:23 +0000 (10:11 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Fri, 29 Apr 2005 10:11:23 +0000 (10:11 +0000)
not just any occurrence of "pow".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21620 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/SimplifyLibCalls/Pow.ll

index c6d4b0f594e25c5db2dd671adb8fb69912ab458c..721f627ed381b1d1d5c10d9034d6c14879bd5054 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that the StrCatOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'pow'
+; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*pow'
 
 declare double %pow(double,double)
 %fpstorage = global double 5.0