bolt/deps/llvm-18.1.8/llvm/test/BugPoint/compile-custom.ll

13 lines
432 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%pluginext --compile-custom --compile-command="%python %/s.py arg1 arg2" --output-prefix %t %s | FileCheck %s
; REQUIRES: plugins
; Test that arguments are correctly passed in --compile-command. The output
; of bugpoint includes the output of the custom tool, so we just echo the args
; in the tool and check here.
; CHECK: Error: arg1 arg2
define void @noop() {
ret void
}