[all-commits] [llvm/llvm-project] 8169c1: [mlir] fix overflow in LLVM dialect inlining (#72878)

ftynse via All-commits all-commits at lists.llvm.org
Tue Nov 21 09:27:19 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8169c157d5aaee67f6a5b13ca82d09e1b2848051
      https://github.com/llvm/llvm-project/commit/8169c157d5aaee67f6a5b13ca82d09e1b2848051
  Author: Oleksandr "Alex" Zinenko <zinenko at google.com>
  Date:   2023-11-21 (Tue, 21 Nov 2023)

  Changed paths:
    M mlir/lib/Dialect/LLVMIR/IR/LLVMInlining.cpp
    M mlir/test/Dialect/LLVMIR/inline-byval-huge.mlir

  Log Message:
  -----------
  [mlir] fix overflow in LLVM dialect inlining (#72878)

Don't use unsigned for sizes as they may be larger than that type can
hold.

Fixes #72678.




More information about the All-commits mailing list