This is an archive of the discontinued LLVM Phabricator instance.

[mlir][spirv] Fix spv.GLSL.{S|U}Clamp type checking
ClosedPublic

Authored by antiagainst on Mar 8 2022, 11:32 AM.

Details

Summary

It's fine to use any integer (vector) values regardless of the
signedness. The opcode decides how to interpret the bits.

Diff Detail

Event Timeline

antiagainst created this revision.Mar 8 2022, 11:32 AM
Herald added a project: Restricted Project. · View Herald Transcript
antiagainst requested review of this revision.Mar 8 2022, 11:32 AM
hanchung accepted this revision.Mar 8 2022, 12:48 PM
This revision is now accepted and ready to land.Mar 8 2022, 12:48 PM
This revision was automatically updated to reflect the committed changes.