CodeGen peephole: fold redundant phys reg copies
[oota-llvm.git] / test / CodeGen / X86 / x86-64-pic-3.ll
index aa3c888ed600eeafd34760ce4afbb67ba0bd2eaf..1b0ddc6fe5ad45cfe9ec229ca1452245ac1611ef 100644 (file)
@@ -1,6 +1,9 @@
-; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
-; RUN: grep {callq     f} %t1
-; RUN: not grep {callq f@PLT} %t1
+; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic | FileCheck %s
+
+
+; CHECK-NOT: {{callq   f@PLT}}
+; CHECK: {{callq       f}}
+; CHECK-NOT: {{callq   f@PLT}}
 
 define void @g() {
 entry: