load_lib llvm.exp

if { [llvm_supports_target X86] && [llvm_supports_target CBackend] } {
    RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp,s}]]
}