llvm-project/llvm/test/Other/codegen-plugin-loading.ll
Tcc100 7daa1defd2 Reland "[CodeGen] Expose the extensibility of PassConfig to plugins (#139059)"
Add missing dependencies to unittest target
Original patch broke BUILD_SHARED bots and required revert #147947
2025-07-10 15:26:48 +02:00

8 lines
235 B
LLVM

; RUN: llc -load %llvmshlibdir/../unittests/CodeGen/CGPluginTest/CGTestPlugin%pluginext %s -o - | FileCheck %s
; REQUIRES: native, system-linux, llvm-dylib
; CHECK: CodeGen Test Pass running on main
define void @main() {
ret void
}