[all-commits] [llvm/llvm-project] 873ea4: [mlir][llvm] Rename void debug type to null
Christian Ulmann via All-commits
all-commits at lists.llvm.org
Thu Feb 16 03:15:12 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 873ea45115a8e5ed1065d6aaad8f41fe6120cac8
https://github.com/llvm/llvm-project/commit/873ea45115a8e5ed1065d6aaad8f41fe6120cac8
Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
Date: 2023-02-16 (Thu, 16 Feb 2023)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
M mlir/lib/Dialect/LLVMIR/IR/LLVMAttrs.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
M mlir/lib/Target/LLVMIR/DebugImporter.cpp
M mlir/lib/Target/LLVMIR/DebugTranslation.cpp
M mlir/lib/Target/LLVMIR/DebugTranslation.h
M mlir/test/Dialect/LLVMIR/debuginfo.mlir
M mlir/test/Dialect/LLVMIR/invalid.mlir
M mlir/test/Target/LLVMIR/Import/debug-info.ll
M mlir/test/Target/LLVMIR/llvmir-debug.mlir
Log Message:
-----------
[mlir][llvm] Rename void debug type to null
This commit renames the "di_void_result_type" to "di_null_type" as LLVM
does use null not exclusively for void types. An added test demonstrates
this for variadic function declarations, whose DISubroutine indicates the
start of variadic types with `null`.
Reviewed By: gysit
Differential Revision: https://reviews.llvm.org/D144109
More information about the All-commits
mailing list