[win/asan] GetInstructionSize: Fix `83 E4 XX` to return 3. (#119644)
[llvm-project.git] / mlir / test / Transforms / test-rewrite-dynamic-op.mlir
blob19ab85876a86ed81944747c4c4254a978182a3d6
1 // RUN: mlir-opt %s -test-rewrite-dynamic-op | FileCheck %s
3 // Test that `test.one_operand_two_results` is replaced with
4 // `test.generic_dynamic_op`.
6 // CHECK-LABEL: func @rewrite_dynamic_op
7 func.func @rewrite_dynamic_op(%arg0: i32) {
8   // CHECK-NEXT: %{{.*}}:2 = "test.dynamic_generic"(%arg0) : (i32) -> (i32, i32)
9   %0:2 = "test.dynamic_one_operand_two_results"(%arg0) : (i32) -> (i32, i32)
10   // CHECK-NEXT: return
11   return