15 lines · plain
1// RUN: mlir-opt %s | FileCheck %s2 3// Note: This test is checking value names (so deliberately is not using a regex match).4 5func.func @test_vscale_constant_names() {6 %vscale = vector.vscale7 %c8 = arith.constant 8 : index8 // CHECK: %c8_vscale = arith.muli9 %0 = arith.muli %vscale, %c8 : index10 %c10 = arith.constant 10 : index11 // CHECK: %c10_vscale = arith.muli12 %1 = arith.muli %c10, %vscale : index13 return14}15