diff --git a/llvm/lib/Target/Hexagon/BitTracker.cpp b/llvm/lib/Target/Hexagon/BitTracker.cpp index e3ead2854853..29b2d9f9429e 100644 --- a/llvm/lib/Target/Hexagon/BitTracker.cpp +++ b/llvm/lib/Target/Hexagon/BitTracker.cpp @@ -1050,7 +1050,7 @@ bool BT::reached(const MachineBasicBlock *B) const { // Visit an individual instruction. This could be a newly added instruction, // or one that has been modified by an optimization. -void BT::visit(const llvm::MachineInstr &MI) { +void BT::visit(const MachineInstr &MI) { assert(!MI.isBranch() && "Only non-branches are allowed"); InstrExec.insert(&MI); visitNonBranch(MI);