as Eli noticed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154641
91177308-0d34-0410-b5e6-
96231b3b80d8
const Use &U) const {
Instruction *UserInst = dyn_cast<Instruction>(U.getUser());
- // All non-instructions conceptually dominate everything. Instructions do
- // not dominate non-instructions.
+ // Instructions do not dominate non-instructions.
if (!UserInst)
- return !isa<Instruction>(Def);
+ return false;
const BasicBlock *DefBB = Def->getParent();