[all-commits] [llvm/llvm-project] c9f72b: [MLIR][LLVM] Fix #llvm.constant_range parsing (#12...

Keyi Zhang via All-commits all-commits at lists.llvm.org
Fri Jan 17 08:02:00 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c9f72b2873d2b3ea777c3ee512696f2259252bce
      https://github.com/llvm/llvm-project/commit/c9f72b2873d2b3ea777c3ee512696f2259252bce
  Author: Keyi Zhang <Kuree at users.noreply.github.com>
  Date:   2025-01-17 (Fri, 17 Jan 2025)

  Changed paths:
    M mlir/lib/Dialect/LLVMIR/IR/LLVMAttrs.cpp
    M mlir/test/Dialect/LLVMIR/func.mlir

  Log Message:
  -----------
  [MLIR][LLVM] Fix #llvm.constant_range parsing (#123009)

When `APInt` parses negative numbers, it may extend the bit width. This
patch ensures the bit width matches with the attribute.

Fixes https://github.com/llvm/llvm-project/issues/122996.



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