From 67fdb6b82a052a389c3b75f108196668ff18f86c Mon Sep 17 00:00:00 2001 From: Vedant Kumar Date: Fri, 9 Feb 2018 05:09:48 +0000 Subject: [bugpoint] Avoid noisy errors by passing a valid opt to tests If the tests don't use the in-tree opt, we're liable to see some silly error messages due to the version mismatch (missing flags, etc). llvm-svn: 324703 --- llvm/test/BugPoint/replace-funcs-with-null.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/test/BugPoint/replace-funcs-with-null.ll') diff --git a/llvm/test/BugPoint/replace-funcs-with-null.ll b/llvm/test/BugPoint/replace-funcs-with-null.ll index 622f9eb67a2..b6976c9a2bb 100644 --- a/llvm/test/BugPoint/replace-funcs-with-null.ll +++ b/llvm/test/BugPoint/replace-funcs-with-null.ll @@ -1,6 +1,6 @@ ; Test that bugpoint can reduce the set of functions by replacing them with null. ; -; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -replace-funcs-with-null -bugpoint-crash-decl-funcs -silence-passes -safe-run-llc +; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -replace-funcs-with-null -bugpoint-crash-decl-funcs -silence-passes -safe-run-llc --opt-command opt ; REQUIRES: loadable_module @foo2 = alias i32 (), i32 ()* @foo -- cgit v1.2.3