OSDN Git Service

[mlir][SPIRV] Fix blocks nested too deeply error.
authorMaheshRavishankar <ravishankarm@google.com>
Tue, 19 May 2020 21:29:47 +0000 (14:29 -0700)
committerMaheshRavishankar <ravishankarm@google.com>
Tue, 19 May 2020 21:29:56 +0000 (14:29 -0700)
commitd5b1643c74eeae327d85c75fe79fd98edb1014f9
tree60e981429df756178eb74268ddf2dbfa1319b8ed
parent21b0eff7738a0ca0b23c5481e67e33e583b1a378
[mlir][SPIRV] Fix blocks nested too deeply error.

Issue arises due to a giant if/else if/else/... construct. Changing
them to just ifs.

Differential Revision: https://reviews.llvm.org/D80245
mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp