[PATCH] D54465: [CodeGen] Fix bugs in LiveDebugVariables when debug labels are generated.

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 3 12:58:35 PST 2018


probinson added inline comments.


================
Comment at: lib/CodeGen/LiveDebugVariables.cpp:409
+                          const SlotIndex Idx);
+
   /// Find the EC leader for VirtReg or null.
----------------
The only call that I see to `getUserLabel` is in `handleDebugLabel` where the return value is not used.  Am I missing something?  If not, perhaps this should be a `void` method (with a different name, maybe `addUserLabel`).


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D54465/new/

https://reviews.llvm.org/D54465





More information about the llvm-commits mailing list