We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aa3515 commit 3c786f9Copy full SHA for 3c786f9
clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
@@ -2189,11 +2189,6 @@ void CIRToLLVMFuncOpLowering::lowerFuncOpenCLKernelMetadata(
2189
mlir::LogicalResult CIRToLLVMFuncOpLowering::matchAndRewrite(
2190
cir::FuncOp op, OpAdaptor adaptor,
2191
mlir::ConversionPatternRewriter &rewriter) const {
2192
-
2193
- mlir::ModuleOp module = op->getParentOfType<mlir::ModuleOp>();
2194
- if (module->hasAttr("cir.global_annotations"))
2195
- op->removeAttr("annotations");
2196
2197
auto fnType = op.getFunctionType();
2198
auto isDsoLocal = op.getDsoLocal();
2199
mlir::TypeConverter::SignatureConversion signatureConversion(
0 commit comments