diff options
author | Alexis Engelke <engelke@in.tum.de> | 2023-07-27 15:48:37 +0200 |
---|---|---|
committer | Alexis Engelke <engelke@in.tum.de> | 2023-07-28 14:01:54 +0200 |
commit | a4d65fe67f7ce1b2a0dcc89bf6aa4672797cb92c (patch) | |
tree | c83fce5124f27a9b794cec691c3c5b4a78ff0ae2 /llvm/lib/Object/COFFImportFile.cpp | |
parent | e4777dc4b9cb371971523cc603e1b8a5c7255e7e (diff) | |
download | llvm-a4d65fe67f7ce1b2a0dcc89bf6aa4672797cb92c.zip llvm-a4d65fe67f7ce1b2a0dcc89bf6aa4672797cb92c.tar.gz llvm-a4d65fe67f7ce1b2a0dcc89bf6aa4672797cb92c.tar.bz2 |
[mlir][LLVMIR] Support switch without cases
LLVM supports switch ops without case values, for which the optional
caseValues has no value (i.e., std::nullopt, no the empty array).
Handle this case properly when translating MLIR-LLVM to LLVM-IR.
Reviewed By: Dinistro, Mogball
Differential Revision: https://reviews.llvm.org/D156431
Diffstat (limited to 'llvm/lib/Object/COFFImportFile.cpp')
0 files changed, 0 insertions, 0 deletions