Skip to content

Commit

Permalink
Updated tests
Browse files Browse the repository at this point in the history
Created using spr 1.3.6-beta.1
  • Loading branch information
mgehre-amd committed Feb 29, 2024
1 parent 4ce2550 commit 048c3de
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// RUN: mlir-opt -p 'builtin.module(buffer-results-to-out-params{add-result-attr})' -split-input-file -verify-diagnostics %s | FileCheck %s

// CHECK-LABEL: basic
// CHECK-SAME: %[[ARG:.*]]: memref<f32> {bufferize.result})
// CHECK-SAME: memref<f32> {bufferize.result})
func.func @basic() -> (memref<f32>) {
%0 = "test.source"() : () -> (memref<f32>)
return %0 : memref<f32>
Expand All @@ -10,8 +10,8 @@ func.func @basic() -> (memref<f32>) {
// -----

// CHECK-LABEL: multiple_results
// CHECK-SAME: %[[ARG0:.*]]: memref<1xf32> {bufferize.result},
// CHECK-SAME: %[[ARG1:.*]]: memref<2xf32> {bufferize.result})
// CHECK-SAME: memref<1xf32> {bufferize.result},
// CHECK-SAME: memref<2xf32> {bufferize.result})
func.func @multiple_results() -> (memref<1xf32>, memref<2xf32>) {
%0, %1 = "test.source"() : () -> (memref<1xf32>, memref<2xf32>)
return %0, %1 : memref<1xf32>, memref<2xf32>
Expand Down

0 comments on commit 048c3de

Please sign in to comment.