[PATCH] D69606: [MachineBasicBlock] Skip over debug instructions in computeRegisterLiveness before checking for begin/end.
Chris Ye via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 30 02:40:16 PDT 2019
yechunliang added a comment.
Will it be better to use getFirstNonDebugInstr() instead of begin() on line 1475?
// Did we get to the start of the block?
- if (I == begin()) {
+ if (I == getFirstNonDebugInstr()) {
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69606/new/
https://reviews.llvm.org/D69606
More information about the llvm-commits
mailing list