We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpConstantNull
Hello!
Not sure if this is a validation issue, or a spec issue, or a desirable behavior, but if I do:
%flag = OpConstantNull %uint OpExtInst %void %-- DebugTypeBasic %-- %-- %-- %flag
I get a validation error because %flag is not an OpConstant. This matches the spec which only mentions OpConstant.
%flag
OpConstant
Question is shall OpConstantNull %uint be considered to be the same as OpConstant %uint 0? Or is that difference there by design?
OpConstantNull %uint
OpConstant %uint 0
(related to #5846 and llvm/llvm-project#118011)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello!
Not sure if this is a validation issue, or a spec issue, or a desirable behavior, but if I do:
I get a validation error because
%flag
is not anOpConstant
.This matches the spec which only mentions
OpConstant
.Question is shall
OpConstantNull %uint
be considered to be the same asOpConstant %uint 0
?Or is that difference there by design?
(related to #5846 and llvm/llvm-project#118011)
The text was updated successfully, but these errors were encountered: