This change fixes "Pass modifies its input and doesn't report it" error when running SPIRVPrepareFunctions pass with LLVM_ENABLE_EXPENSIVE_CHECKS enabled. Differential Revision: https://reviews.llvm.org/D145121
14 KiB
14 KiB