Is there parameter like "clang -mllvm" in Swift?

I want to add some llvm passes to Swift toolchain. With "clang -mllvm -xx" I can add llvm pass to clang compile, how to use these llvm passes to Swift?

Swift's equivalent is -Xllvm.

1 Like