aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorLei Zhang <antiagainst@google.com>2021-04-07 14:52:16 -0400
committerLei Zhang <antiagainst@google.com>2021-04-08 08:19:47 -0400
commit5299843c31468ab73d63242eaa79bedfc885b877 (patch)
treec54f985e9e7b6c583a2e83cceb591108ccd66138 /clang/lib/Basic/SourceManager.cpp
parent004f29c0bb3cad623bfd147f73bf6f8ab293ed53 (diff)
downloadllvm-5299843c31468ab73d63242eaa79bedfc885b877.zip
llvm-5299843c31468ab73d63242eaa79bedfc885b877.tar.gz
llvm-5299843c31468ab73d63242eaa79bedfc885b877.tar.bz2
[mlir][spirv] Add control for non-32-bit scalar type emulation
Non-32-bit scalar types require special hardware support that may not exist on all GPUs. This is reflected in SPIR-V as that non-32-bit scalar types require special capabilities or extensions. Previously when there is a non-32-bit type and no native support, we unconditionally emulate it with 32-bit ones. This isn't good given that it can have implications over ABI and data layout consistency. This commit introduces an option to control whether to use 32-bit types to emulate. Differential Revision: https://reviews.llvm.org/D100059
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions