Description
After #7786 by @GinShio got merged as a fix for #7049 we are constantly hitting this assert
|
assert(false && "Unsupported builtin type evaluation at compile-time"); |
Repro
Not possible on Godbolt because you don't have a "with assertions" trunk DXC version
https://godbolt.org/z/jn6navhW5
Actual Behaviour
Now this block of code doesn't run because the switch just assert and return false
constVal->setRValue(true);
registerVariableForDecl(varDecl, constVal);
Environment
- DXC version: commit b9af1ec
- Host Operating System: Windows