diff options
author | Alexander Belyaev <pifon@google.com> | 2020-09-23 17:31:55 +0200 |
---|---|---|
committer | Alexander Belyaev <pifon@google.com> | 2020-09-24 11:16:23 +0200 |
commit | 56ffb8d1697932c1097fba3315dba6d9e55b7bb8 (patch) | |
tree | b5ecd49e1166fc329a400ebf280064118f61c8ea /llvm/lib/Support/JSON.cpp | |
parent | e60a760b7da970b6eeabc26faa9e065ec7cec1a8 (diff) | |
download | llvm-56ffb8d1697932c1097fba3315dba6d9e55b7bb8.zip llvm-56ffb8d1697932c1097fba3315dba6d9e55b7bb8.tar.gz llvm-56ffb8d1697932c1097fba3315dba6d9e55b7bb8.tar.bz2 |
[mlir] Stop allowing LLVMType Int arguments for GPULaunchFuncOp.
Conversion to LLVM becomes confusing and incorrect if someone tries to lower
STD -> LLVM and only then GPULaunchFuncOp to LLVM separately. Although it is
technically allowed now, it works incorrectly because of the argument
promotion. The correct way to use this conversion pattern is to add to the
STD->LLVM patterns before running the pass.
Differential Revision: https://reviews.llvm.org/D88147
Diffstat (limited to 'llvm/lib/Support/JSON.cpp')
0 files changed, 0 insertions, 0 deletions