[PATCH] D39044: [MachineRegisterInfo] Avoid having dbg.values affect code generation
Mikael Holmén via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 15 23:01:33 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL318382: [MachineRegisterInfo] Avoid having dbg.values affect code generation (authored by uabelho).
Changed prior to commit:
https://reviews.llvm.org/D39044?vs=119454&id=123129#toc
Repository:
rL LLVM
https://reviews.llvm.org/D39044
Files:
llvm/trunk/lib/CodeGen/MachineRegisterInfo.cpp
Index: llvm/trunk/lib/CodeGen/MachineRegisterInfo.cpp
===================================================================
--- llvm/trunk/lib/CodeGen/MachineRegisterInfo.cpp
+++ llvm/trunk/lib/CodeGen/MachineRegisterInfo.cpp
@@ -428,8 +428,8 @@
// Emit the copies into the top of the block.
for (unsigned i = 0, e = LiveIns.size(); i != e; ++i)
if (LiveIns[i].second) {
- if (use_empty(LiveIns[i].second)) {
- // The livein has no uses. Drop it.
+ if (use_nodbg_empty(LiveIns[i].second)) {
+ // The livein has no non-dbg uses. Drop it.
//
// It would be preferable to have isel avoid creating live-in
// records for unused arguments in the first place, but it's
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39044.123129.patch
Type: text/x-patch
Size: 723 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171116/96a4333c/attachment.bin>
More information about the llvm-commits
mailing list