[all-commits] [llvm/llvm-project] d8792f: [mlir][LLVMIR] Check number of elements in `mlir.c...

Matthias Springer via All-commits all-commits at lists.llvm.org
Mon Aug 12 07:08:14 PDT 2024


  Branch: refs/heads/users/matthias-springer/llvm_constant_verifier
  Home:   https://github.com/llvm/llvm-project
  Commit: d8792fe7c895fffa0966a7af94249939f6f945ba
      https://github.com/llvm/llvm-project/commit/d8792fe7c895fffa0966a7af94249939f6f945ba
  Author: Matthias Springer <mspringer at nvidia.com>
  Date:   2024-08-12 (Mon, 12 Aug 2024)

  Changed paths:
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/test/Dialect/LLVMIR/invalid.mlir
    M mlir/test/Target/LLVMIR/llvmir.mlir

  Log Message:
  -----------
  [mlir][LLVMIR] Check number of elements in `mlir.constant` verifier

Check that the number of elements in the result type and the attribute of an `llvm.mlir.constant` op matches. Also fix a broken test where that was not the case.



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