[PATCH] D27782: [codegen] Add generic functions to skip debug values.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 14 15:36:23 PST 2016
fhahn created this revision.
fhahn added reviewers: iteratee, aprantl, eli.friedman.
fhahn added a subscriber: llvm-commits.
Herald added a subscriber: MatzeB.
This commits moves skipDebugInstructionsForward and
skipDebugInstructionsBackward from lib/CodeGen/IfConversion.cpp
to include/llvm/CodeGen/MachineBasicBlock.h and updates
some codgen files to use them.
This refactoring was suggested in https://reviews.llvm.org/D27688
and I thought it's best to do the refactoring in a separate
review, but I could also put both changes in a single review
if that's preferred.
Also, the names for the functions aren't the snappiest and
I would be happy to rename them if anybody has suggestions.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7773 bytes
Desc: not available
More information about the llvm-commits