aprantl added inline comments. ================ Comment at: lib/IR/Instruction.cpp:603 + + if (isa<DbgInfoIntrinsic>(II)) + return true; ---------------- I think it would be more efficient to include these cases in the switch below? https://reviews.llvm.org/D48305