Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPIRV] Fix return type mismatch for createSPIRVEmitNonSemanticDIPass (…
…llvm#105889) The declaration in SPIRV.h had this returning a `MachineFunctionPass *`, but the implementation returned a `FunctionPass *`. This showed up as a build error on windows, but it was clearly a mistake regardless. I also updated the pass to include SPIRV.h rather than using its own declarations for pass initialization, as this results in better errors for this kind of typo. Fixes a build break after llvm#97558
- Loading branch information