You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the SPIRVProducer, constant-initialized global variables are rewritten to be private variables. This seems to work out in practice, but actually leads to invalid IR.
refs google#1292
refs google#1303
* Fixed a bug in remove unused arguments
* attributes on parameters weren't handled parameters
* rewrite tests to be more targeted at the actual feature
refs #1292
refs #1303
* Fixed a bug in remove unused arguments
* attributes on parameters weren't handled parameters
* rewrite tests to be more targeted at the actual feature
In the SPIRVProducer, constant-initialized global variables are rewritten to be private variables. This seems to work out in practice, but actually leads to invalid IR.
Run the following IR as
test.ll
:With the command:
LLVM will complain about a broken module:
This seems to mostly work out in SPIR-V because it is unlikely we have enough instructions to evidence the mismatch in address spaces.
The text was updated successfully, but these errors were encountered: