55//===----------------------------------------------------------------------===//
66
77// CHECK: spirv.ARM.Graph {{@.*}}({{%.*}}: !spirv.arm.tensor<14x19xi16>) -> !spirv.arm.tensor<14x19xi16> {
8- spirv.ARM.Graph @graphAndOutputs (%arg0 : !spirv.arm.tensor <14 x19 xi16 >) -> !spirv.arm.tensor <14 x19 xi16 > {
8+ spirv.ARM.Graph @graphAndOutputs (%arg0: !spirv.arm.tensor <14 x19 xi16 >) -> !spirv.arm.tensor <14 x19 xi16 > {
99 // CHECK: spirv.ARM.GraphOutputs {{%.*}} : !spirv.arm.tensor<14x19xi16>
1010 spirv.ARM.GraphOutputs %arg0 : !spirv.arm.tensor <14 x19 xi16 >
1111}
@@ -43,7 +43,7 @@ spirv.ARM.GraphEntryPoint @entrypoint, @entrypoint_arg_0, @entrypoint_res_0
4343//===----------------------------------------------------------------------===//
4444
4545// expected-error @+1 {{empty block: expect at least a terminator}}
46- spirv.ARM.Graph @graphNoterminator (%arg0 : !spirv.arm.tensor <14 x19 xi16 >) -> !spirv.arm.tensor <14 x19 xi16 > {
46+ spirv.ARM.Graph @graphNoterminator (%arg0: !spirv.arm.tensor <14 x19 xi16 >) -> !spirv.arm.tensor <14 x19 xi16 > {
4747}
4848
4949// -----
@@ -53,7 +53,7 @@ spirv.ARM.Graph @graphNoterminator(%arg0 : !spirv.arm.tensor<14x19xi16>) -> !spi
5353//===----------------------------------------------------------------------===//
5454
5555// expected-error @+1 {{'spirv.ARM.Graph' op there should be at least one result}}
56- spirv.ARM.Graph @graphNoOutputs (%arg0 : !spirv.arm.tensor <14 x19 xi16 >) -> () {
56+ spirv.ARM.Graph @graphNoOutputs (%arg0: !spirv.arm.tensor <14 x19 xi16 >) -> () {
5757}
5858
5959// -----
@@ -80,7 +80,7 @@ spirv.ARM.GraphOutputs %0 : !spirv.arm.tensor<1xi16>
8080// spirv.ARM.Graph return type does not match spirv.ARM.GraphOutputs
8181//===----------------------------------------------------------------------===//
8282
83- spirv.ARM.Graph @graphAndOutputs (%arg0 : !spirv.arm.tensor <14 x19 xi16 >) -> !spirv.arm.tensor <5 x3 xi16 > {
83+ spirv.ARM.Graph @graphAndOutputs (%arg0: !spirv.arm.tensor <14 x19 xi16 >) -> !spirv.arm.tensor <5 x3 xi16 > {
8484 // expected-error @+1 {{type of return operand 0 ('!spirv.arm.tensor<14x19xi16>') doesn't match graph result type ('!spirv.arm.tensor<5x3xi16>')}}
8585 spirv.ARM.GraphOutputs %arg0 : !spirv.arm.tensor <14 x19 xi16 >
8686}
@@ -91,14 +91,14 @@ spirv.ARM.Graph @graphAndOutputs(%arg0 : !spirv.arm.tensor<14x19xi16>) -> !spirv
9191// spirv.ARM.Graph return type does not match number of results in spirv.ARM.GraphOutputs
9292//===----------------------------------------------------------------------===//
9393
94- spirv.ARM.Graph @graphAndOutputs (%arg0 : !spirv.arm.tensor <14 x19 xi16 >) -> (!spirv.arm.tensor <14 x19 xi16 >, !spirv.arm.tensor <14 x19 xi16 >) {
94+ spirv.ARM.Graph @graphAndOutputs (%arg0: !spirv.arm.tensor <14 x19 xi16 >) -> (!spirv.arm.tensor <14 x19 xi16 >, !spirv.arm.tensor <14 x19 xi16 >) {
9595 // expected-error @+1 {{'spirv.ARM.GraphOutputs' op is returning 1 value(s) but enclosing spirv.ARM.Graph requires 2 result(s)}}
9696 spirv.ARM.GraphOutputs %arg0 : !spirv.arm.tensor <14 x19 xi16 >
9797}
9898
9999// -----
100100
101- spirv.ARM.Graph @graphAndOutputs (%arg0 : !spirv.arm.tensor <14 x19 xi16 >) -> !spirv.arm.tensor <14 x19 xi16 > {
101+ spirv.ARM.Graph @graphAndOutputs (%arg0: !spirv.arm.tensor <14 x19 xi16 >) -> !spirv.arm.tensor <14 x19 xi16 > {
102102 // expected-error @+1 {{'spirv.ARM.GraphOutputs' op is returning 2 value(s) but enclosing spirv.ARM.Graph requires 1 result(s)}}
103103 spirv.ARM.GraphOutputs %arg0 , %arg0 : !spirv.arm.tensor <14 x19 xi16 >, !spirv.arm.tensor <14 x19 xi16 >
104104}
@@ -110,7 +110,7 @@ spirv.ARM.Graph @graphAndOutputs(%arg0 : !spirv.arm.tensor<14x19xi16>) -> !spirv
110110//===----------------------------------------------------------------------===//
111111
112112// expected-error @+1 {{'spirv.ARM.Graph' op type of argument #0 must be a TensorArmType, but got 'i8'}}
113- spirv.ARM.Graph @graphAndOutputs (%arg0 : i8 ) -> !spirv.arm.tensor <14 x19 xi16 > {
113+ spirv.ARM.Graph @graphAndOutputs (%arg0: i8 ) -> !spirv.arm.tensor <14 x19 xi16 > {
114114}
115115
116116// -----
@@ -120,5 +120,5 @@ spirv.ARM.Graph @graphAndOutputs(%arg0 : i8) -> !spirv.arm.tensor<14x19xi16> {
120120//===----------------------------------------------------------------------===//
121121
122122// expected-error @+1 {{'spirv.ARM.Graph' op type of result #0 must be a TensorArmType, but got 'i8'}}
123- spirv.ARM.Graph @graphAndOutputs (%arg0 : !spirv.arm.tensor <14 x19 xi16 >) -> i8 {
123+ spirv.ARM.Graph @graphAndOutputs (%arg0: !spirv.arm.tensor <14 x19 xi16 >) -> i8 {
124124}
0 commit comments