Teach the asmprinter to print out operands for OperationInst's. This
is still limited in several ways, which i'll build out in subsequent patches.
Rename the accessor for inst operands/results to make the Operand/Result
versions of these more obscure, allowing getOperand/getResult to traffic
in values (which is what - by far - most clients actually care about).
PiperOrigin-RevId: 205408439
diff --git a/test/IR/parser-errors.mlir b/test/IR/parser-errors.mlir
index 49fd2da..b2c7432 100644
--- a/test/IR/parser-errors.mlir
+++ b/test/IR/parser-errors.mlir
@@ -168,7 +168,7 @@
cfgfunc @test() {
bb40:
- %1 = "foo"() : (i32)->i64 // expected-error {{expected 0 types in operand list but had 1}}
+ %1 = "foo"() : (i32)->i64 // expected-error {{expected 0 operand types but had 1}}
return
}