Simon Moll

Results comments of Simon Moll

There is two issues at play here: 1. Sema does not reject HLSL that feeds const values into `[in]out` params declared in gen_intrin_main.txt -> const payloads should be rejected during...

This code should be rejected during Sema. Cannot feed a const value into the `[in]out` payload param. Also see https://github.com/microsoft/DirectXShaderCompiler/issues/7760#issuecomment-3302628171

#7797 makes this fail during Sema. Since DXC uses all this special plumbing for builtin template/overload resolution, not entirely clear how this should be fixed proper.

> OTOH, the parallelism implied by vectorization is almost a sequential operation from a high-level programming language's perspective (and this is similar to what you are saying). It is only...

That's fixed by https://github.com/cdl-saarland/rv/commit/54b0bf5efe077fb7e1408b41dcd82a54fecc8836 Feel free to open new issues on the RV github if you encounter bugs. I do see a double-free for that benchmark though (with or without...

How about we bypass that issue by using different metadata for RV (e.g. `rv.vectorize.enable`, instead of `llvm.vectorize.enable`)? That way you can leave LLVM's LV in the pipeline and have RV...

Well, it does now.. https://github.com/cdl-saarland/rv/commit/4965914c0e85a5d3db816e6fefed2a73d0fe4ed3

We could protect the remainder loop from vectorization (by LLVM LV) again with MD annotations `{"llvm.loop.vectorize.enable", 0}`

> This is a reproducer related to the intUintSlice failure: > Ok. This one is fixed by https://github.com/cdl-saarland/rv/commit/409a7f49edb8f67fbe2b128f74b5cfd5a73b8351

(moved my comment on LV's warnings/remarks to #11678)