Revert "[MLIR][LLVM] Permit integer types in switch other than i32"
authorMehdi Amini <joker.eph@gmail.com>
Tue, 16 Nov 2021 05:59:12 +0000 (05:59 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Tue, 16 Nov 2021 05:59:12 +0000 (05:59 +0000)
commit1585b13024db5a0f7d96bc2d8e4aa7171ce09bb9
tree7122911d9f0f0bd969b69e81ef044df93e3be9a2
parent0ecb12a27ff63eca481cef5ed67ce654a8f111b4
Revert "[MLIR][LLVM] Permit integer types in switch other than i32"

This reverts commit 94992670fcc59d12d7f97cb08beb8d2eb15110ed.
Build is broken with:

tools/mlir/include/mlir/Dialect/LLVMIR/LLVMOps.cpp.inc:23996:3: error: no matching function for call to 'printSwitchOpCases'
  printSwitchOpCases(_odsPrinter, *this, getValue().getType(), getCaseValuesAttr(), getCaseDestinations(), getCaseOperands(), getCaseOperands().getTypes());
  ^~~~~~~~~~~~~~~~~~
mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
mlir/test/Conversion/AsyncToLLVM/convert-coro-to-llvm.mlir
mlir/test/Conversion/AsyncToLLVM/convert-to-llvm.mlir
mlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir
mlir/test/Dialect/LLVMIR/invalid.mlir
mlir/test/Dialect/LLVMIR/roundtrip.mlir
mlir/test/Target/LLVMIR/llvmir.mlir