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
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.