[all-commits] [llvm/llvm-project] 667a19: [mlir][LLVM] Fix dbg intrinsic import of killed lo...
Christian Ulmann via All-commits
all-commits at lists.llvm.org
Sun Aug 13 23:40:27 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 667a195fcd1088cb7d182a3ec0ac8b9fb06bbcbe
https://github.com/llvm/llvm-project/commit/667a195fcd1088cb7d182a3ec0ac8b9fb06bbcbe
Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
Date: 2023-08-14 (Mon, 14 Aug 2023)
Changed paths:
M mlir/lib/Target/LLVMIR/ModuleImport.cpp
M mlir/test/Target/LLVMIR/Import/import-failure.ll
Log Message:
-----------
[mlir][LLVM] Fix dbg intrinsic import of killed locations
This commit ensures that debug intrinsics of killed variables do not
cause a crash of the importer. Killed locations are usually undef
constants, but in infrequent cases can also be metadata nodes, which
caused problems.
Reviewed By: zero9178
Differential Revision: https://reviews.llvm.org/D157724
More information about the All-commits
mailing list