[llvm] r329213 - [MachineOutliner] Fix typo; NFC

Jessica Paquette via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 4 11:07:08 PDT 2018


Author: paquette
Date: Wed Apr  4 11:07:07 2018
New Revision: 329213

URL: http://llvm.org/viewvc/llvm-project?rev=329213&view=rev
Log:
[MachineOutliner] Fix typo; NFC

There was a typo in an unreachable statement in one of the outliner target
hooks.


Modified:
    llvm/trunk/include/llvm/CodeGen/TargetInstrInfo.h

Modified: llvm/trunk/include/llvm/CodeGen/TargetInstrInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/TargetInstrInfo.h?rev=329213&r1=329212&r2=329213&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/TargetInstrInfo.h (original)
+++ llvm/trunk/include/llvm/CodeGen/TargetInstrInfo.h Wed Apr  4 11:07:07 2018
@@ -1608,7 +1608,7 @@ public:
           std::pair<MachineBasicBlock::iterator, MachineBasicBlock::iterator>>
           &RepeatedSequenceLocs) const {
     llvm_unreachable(
-        "Target didn't implement TargetInstrInfo::getOutliningOverhead!");
+        "Target didn't implement TargetInstrInfo::getOutliningCandidateInfo!");
   }
 
   /// Represents how an instruction should be mapped by the outliner.




More information about the llvm-commits mailing list