blob: 026a3a102b604e4a95b8c5a1bd3ebb6a09ef1805 [file]
; Check that the plugin's RegisterTargetPassConfigCallback inserts its pass
; REQUIRES: system-linux, plugins, examples
; RUN: %if x86-registered-target %{ llc -mtriple=x86_64 -load-pass-plugin %llvmshlibdir/Ciao%pluginext %s -o /dev/null | FileCheck %s %}
; RUN: %if aarch64-registered-target %{ llc -mtriple=aarch64 -load-pass-plugin %llvmshlibdir/Ciao%pluginext %s -o /dev/null | FileCheck %s %}
; CHECK: Ciao: main
define void @main() {
ret void
}