[all-commits] [llvm/llvm-project] 76d2e0: [mlir] fix references of attributes which are not ...

tdanyluk via All-commits all-commits at lists.llvm.org
Tue Apr 8 08:34:42 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 76d2e0881e19359e262043a149474049f94ea348
      https://github.com/llvm/llvm-project/commit/76d2e0881e19359e262043a149474049f94ea348
  Author: tdanyluk <tdanyluk at nvidia.com>
  Date:   2025-04-08 (Tue, 08 Apr 2025)

  Changed paths:
    M mlir/utils/generate-test-checks.py

  Log Message:
  -----------
  [mlir] fix references of attributes which are not defined earlier (#134364)

If an attribute is not defined earlier in the same file, but just
referenced from its dialect directly, then currently not the correct
check is being emited.

What would it emit for #toy.shape<[1, 2, 3]>:
Earlier:
// CHECK: #[['?']]<[1, 2, 3]>
Now:
// CHECK: #toy.shape<[1, 2, 3]>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list