[PATCH] D145121: [SPIR-V] Report modifying IR in SPIRVPrepareFunctions

Michal Paszkowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 1 14:30:13 PST 2023


mpaszkowski created this revision.
mpaszkowski added reviewers: iliya-diyachkov, konrad.trifunovic, zuban32, arsenm, MaskRay, rengolin.
Herald added subscribers: ThomasRaoux, hiraditya.
Herald added a project: All.
mpaszkowski requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

This change fixes "Pass modifies its input and doesn't report it" error when running SPIRVPrepareFunctions pass with LLVM_ENABLE_EXPENSIVE_CHECKS enabled.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145121

Files:
  llvm/lib/Target/SPIRV/SPIRVPrepareFunctions.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145121.501667.patch
Type: text/x-patch
Size: 11163 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230301/f7041a89/attachment.bin>


More information about the llvm-commits mailing list