[RISCV] Rename a lambda to have plural nouns to reflect that it contains a loop. NFC
[llvm-project.git] / mlir / test / IR / parser_dialect_loading.mlir
blobb9c2d30cf3c9829936e5782860a8c8b4546fa5e3
1 // RUN: mlir-opt -allow-unregistered-dialect --split-input-file %s | FileCheck %s
3 // This is a testing that a non-qualified attribute in a custom format
4 // correctly preload the dialect before creating the attribute.
5 #attr = #test.nested_polynomial<poly=<1 + x**2>>
6 // CHECK-LABEL: @parse_correctly
7 llvm.func @parse_correctly() {
8   test.containing_int_polynomial_attr #attr
9   llvm.return
12 // -----
14 #attr2 = #test.nested_polynomial2<poly=<1 + x**2>>
15 // CHECK-LABEL: @parse_correctly_2
16 llvm.func @parse_correctly_2() {
17   test.containing_int_polynomial_attr2 #attr2
18   llvm.return