[all-commits] [llvm/llvm-project] 4c2e01: [GlobalISel] Fix a combine causing DBG_VALUE with ...
Amara Emerson via All-commits
all-commits at lists.llvm.org
Sat Aug 7 02:42:59 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4c2e01232cfc397a438eab57a8f9e3a849a6e9f1
https://github.com/llvm/llvm-project/commit/4c2e01232cfc397a438eab57a8f9e3a849a6e9f1
Author: Amara Emerson <amara at apple.com>
Date: 2021-08-07 (Sat, 07 Aug 2021)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
A llvm/test/CodeGen/AArch64/GlobalISel/combine-shift-of-shifted-dbg-value-fallback.ll
Log Message:
-----------
[GlobalISel] Fix a combine causing DBG_VALUE with dangling vregs.
We should use MachineInstr::eraseFromParentAndMarkDBGValuesForRemoval()
instead of eraseFromParent().
We should probably use that in other places too but fix this issue which
affects clang bootstrap builds for now.
More information about the All-commits
mailing list