File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
flang/lib/Optimizer/Dialect Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -4271,7 +4271,6 @@ void fir::StoreOp::getEffects(
42714271mlir::ParseResult fir::PrefetchOp::parse (mlir::OpAsmParser &parser,
42724272 mlir::OperationState &result) {
42734273 mlir::OpAsmParser::UnresolvedOperand memref;
4274- // mlir::Type type = parser.getBuilder().getIntegerType(64);
42754274 if (parser.parseOperand (memref))
42764275 return mlir::failure ();
42774276
@@ -4294,14 +4293,12 @@ mlir::ParseResult fir::PrefetchOp::parse(mlir::OpAsmParser &parser,
42944293 if (parser.parseKeyword (&kw))
42954294 return mlir::failure ();
42964295 if (kw == " instruction" ) {
4297- llvm::errs () << " intruc\n " ;
42984296 result.addAttribute (" cacheType" , parser.getBuilder ().getBoolAttr (false ));
42994297 } else if (kw == " data" ) {
4300- llvm::errs () << " data\n " ;
43014298 result.addAttribute (" cacheType" , parser.getBuilder ().getUnitAttr ());
43024299 } else
43034300 return parser.emitError (parser.getCurrentLocation (),
4304- " Expected either read or write keyword" );
4301+ " Expected either intruction or data keyword" );
43054302
43064303 if (parser.parseComma ())
43074304 return mlir::failure ();
You can’t perform that action at this time.
0 commit comments