Fix a copy+pasto in an assertion message.
authorDan Gohman <gohman@apple.com>
Thu, 18 Dec 2008 22:07:25 +0000 (22:07 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 18 Dec 2008 22:07:25 +0000 (22:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61217 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/LowerSubregs.cpp

index a5c02c0b7138eaa1d5e719d20e18134ff28ead47..0cb6aab6db5d249809af27cb9a06e3210c4bd2c6 100644 (file)
@@ -76,7 +76,7 @@ bool LowerSubregsInstructionPass::LowerExtract(MachineInstr *MI) {
   assert(TargetRegisterInfo::isPhysicalRegister(SuperReg) &&
          "Extract supperg source must be a physical register");
   assert(TargetRegisterInfo::isPhysicalRegister(DstReg) &&
-         "Insert destination must be in a physical register");
+         "Extract destination must be in a physical register");
          
   DOUT << "subreg: CONVERTING: " << *MI;