Skip to content
Commit 2b066501 authored by Lei Zhang's avatar Lei Zhang
Browse files

[mlir][spirv] Fix integer type emulation with extension/truncation

For integer extension or truncation with type emulation, we need
to make sure we perform masking or shifting to discard unwanted
bits to avoid pollute consumer ops.

Reviewed By: kuhar

Differential Revision: https://reviews.llvm.org/D157788
parent d923f4c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment