[PATCH] D46329: [SelectionDAG] Selection of DBG_VALUE using a PHI node result (pt 2)
Bjorn Pettersson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 1 14:14:27 PDT 2018
bjope updated this revision to Diff 144786.
bjope added a comment.
Some updates suggested by vsk:
- Use zip_first.
- Add a RegsForValue::occupiesMultipleRegisters() helper.
- Cleanup in the test case (removing tbaa and lifetime stuff).
I'll create another patch to do a similar refactoring in EmitFuncArgumentDbgValue (or see if we can share code in some way).
Repository:
rL LLVM
https://reviews.llvm.org/D46329
Files:
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
test/DebugInfo/X86/sdag-dbgvalue-phi-use-3.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46329.144786.patch
Type: text/x-patch
Size: 11898 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180501/a27ccaa6/attachment.bin>
More information about the llvm-commits
mailing list