Skip to content

Commit a15dd75

Browse files
author
Simon Camphausen
committed
Review comment
1 parent bbb4e9e commit a15dd75

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

mlir/lib/Dialect/EmitC/IR/EmitC.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ void mlir::emitc::buildTerminatedBody(OpBuilder &builder, Location loc) {
6161
bool mlir::emitc::isSupportedEmitCType(Type type) {
6262
if (llvm::isa<emitc::OpaqueType>(type))
6363
return true;
64-
if (auto lType = llvm::dyn_cast<emitc::LValueType>(type))
65-
// lvalue types are only allowed in a few places.
66-
return false;
6764
if (auto ptrType = llvm::dyn_cast<emitc::PointerType>(type))
6865
return isSupportedEmitCType(ptrType.getPointee());
6966
if (auto arrayType = llvm::dyn_cast<emitc::ArrayType>(type)) {

0 commit comments

Comments
 (0)