inbelic wrote: @s-perron From the meeting: this pr is used to create warnings against cases that will cause code generation to create phi or selects between different resources/handles. There was an initial attempt to generate errors instead of just warnings, however, DXC does not generate an error for erroneous cases if they are removed with simple dce or by constant propogation which was not reasonably tracked in SemaHLSL. So actual errors are reported later in `dxil-resource-access` as part of [here](https://github.com/llvm/llvm-project/pull/182106).
https://github.com/llvm/llvm-project/pull/182101 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
