diff options
| author | George Mitenkov <georgemitenk0v@gmail.com> | 2020-07-02 14:21:35 -0400 |
|---|---|---|
| committer | Lei Zhang <antiagainst@google.com> | 2020-07-02 14:26:58 -0400 |
| commit | 1cfaaf645528cc2fed79617c8ca80945a1504021 (patch) | |
| tree | 3aa0a3ccd23025cf9b73602fc7aec3e294dc8622 /clang/lib/CodeGen/CGExprComplex.cpp | |
| parent | 5416fc014ae5590fdef89630f3777d3216879fbb (diff) | |
[MLIR][SPIRVToLLVM] Convert spv.constant scalars and vectors
This patch introduces conversion pattern for `spv.constant` with scalar
and vector types. There is a special case when the constant value is a
signed/unsigned integer (vector of integers). Since LLVM dialect does not
have signedness semantics, the types had to be converted to signless ints.
Reviewed By: antiagainst
Differential Revision: https://reviews.llvm.org/D82936
Diffstat (limited to 'clang/lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions
