xref: /llvm-project/llvm/test/BugPoint/compile-custom.ll (revision 82d3c0759fa0f0d3789f9b88d5f5e8cc6e97126f)
1; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%pluginext --compile-custom --compile-command="%python %/s.py arg1 arg2" --output-prefix %t %s | FileCheck %s
2; REQUIRES: plugins
3
4; Test that arguments are correctly passed in --compile-command.  The output
5; of bugpoint includes the output of the custom tool, so we just echo the args
6; in the tool and check here.
7
8; CHECK: Error: arg1 arg2
9
10define void @noop() {
11    ret void
12}
13