[all-commits] [llvm/llvm-project] 7e54ae: [mlir][llvm] Do not inline variadic functions (#77...

Tobias Gysi via All-commits all-commits at lists.llvm.org
Sun Jan 7 23:30:24 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e54ae24d84bce4452ac4a28acb6568db52980fb
      https://github.com/llvm/llvm-project/commit/7e54ae24d84bce4452ac4a28acb6568db52980fb
  Author: Tobias Gysi <tobias.gysi at nextsilicon.com>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M mlir/lib/Dialect/LLVMIR/IR/LLVMInlining.cpp
    M mlir/test/Dialect/LLVMIR/inlining.mlir

  Log Message:
  -----------
  [mlir][llvm] Do not inline variadic functions (#77241)

This revision updates the llvm dialect inliner to explicitly disallow
the inlining of variadic functions. Already previously the inlining
failed if the number of function arguments did not match the number of
call arguments. After the change, inlining checks the function is not
variadic and it does not contain a va_start intrinsic.




More information about the All-commits mailing list