[llvm-dev] How the LLVM handle the debug location information of continue keyword and right brace(loop end location)?
Leslie Zhai via llvm-dev
llvm-dev at lists.llvm.org
Fri Jun 9 02:26:38 PDT 2017
Dear Frozen,
Please show me the patch kindly :)
diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp
b/lib/CodeGen/SelectionDAG/FastISel.cpp
index b2599b2e17f..ec96bbffd0b 100644
--- a/lib/CodeGen/SelectionDAG/FastISel.cpp
+++ b/lib/CodeGen/SelectionDAG/FastISel.cpp
@@ -1463,6 +1463,8 @@ void FastISel::fastEmitBranch(MachineBasicBlock
*MSucc,
const DebugLoc &DbgLoc) {
if (FuncInfo.MBB->getBasicBlock()->size() > 1 &&
FuncInfo.MBB->isLayoutSuccessor(MSucc)) {
+ // TODO: Dear Frozen, please show me the patch kindly :)
+ // http://lists.llvm.org/pipermail/llvm-dev/2017-June/113631.html
// For more accurate line information if this is the only instruction
// in the block then emit it, otherwise we have the unconditional
// fall-through case, which needs no instructions.
Thanks a lot!
--
Regards,
Leslie Zhai https://reviews.llvm.org/p/xiangzhai/
.
More information about the llvm-dev
mailing list