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

compiler

(Tong Leiming) #1

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?


(Jordan Rose) #2

Swift's equivalent is -Xllvm.