llvm-project
216bccbe - [SPIR-V] Handle constant expression uses of PushConstant globals (#193005)

Commit
45 days ago
[SPIR-V] Handle constant expression uses of PushConstant globals (#193005) When lowering globals, users that are constant expressions cannot be rewritten by the push constant access path because a simple replacement with the result of a call to an intrinsic will no longer be a constant. The uses of the GV that are constant expression must be replaced with instruction before trying to rewrite them.
Author
Parents
Loading