File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -2459,13 +2459,10 @@ void cir::InlineAsmOp::print(OpAsmPrinter &p) {
24592459 if (getSideEffects ())
24602460 p << " side_effects" ;
24612461
2462- llvm::SmallVector<::llvm::StringRef, 2 > elidedAttrs;
2463- elidedAttrs.push_back (" asm_flavor" );
2464- elidedAttrs.push_back (" asm_string" );
2465- elidedAttrs.push_back (" constraints" );
2466- elidedAttrs.push_back (" operand_attrs" );
2467- elidedAttrs.push_back (" operands_segments" );
2468- elidedAttrs.push_back (" side_effects" );
2462+ std::array elidedAttrs{
2463+ llvm::StringRef (" asm_flavor" ), llvm::StringRef (" asm_string" ),
2464+ llvm::StringRef (" constraints" ), llvm::StringRef (" operand_attrs" ),
2465+ llvm::StringRef (" operands_segments" ), llvm::StringRef (" side_effects" )};
24692466 p.printOptionalAttrDict (getOperation ()->getAttrs (), elidedAttrs);
24702467
24712468 if (auto v = getRes ())
You can’t perform that action at this time.
0 commit comments