[llvm] r293023 - GlobalISel: Fix typo in error message

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 24 22:02:10 PST 2017


Author: bogner
Date: Wed Jan 25 00:02:10 2017
New Revision: 293023

URL: http://llvm.org/viewvc/llvm-project?rev=293023&view=rev
Log:
GlobalISel: Fix typo in error message

Modified:
    llvm/trunk/lib/CodeGen/GlobalISel/InstructionSelect.cpp

Modified: llvm/trunk/lib/CodeGen/GlobalISel/InstructionSelect.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/GlobalISel/InstructionSelect.cpp?rev=293023&r1=293022&r2=293023&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/GlobalISel/InstructionSelect.cpp (original)
+++ llvm/trunk/lib/CodeGen/GlobalISel/InstructionSelect.cpp Wed Jan 25 00:02:10 2017
@@ -146,7 +146,7 @@ bool InstructionSelect::runOnMachineFunc
                    : &*MRI.def_instr_begin(VReg);
     if (!RC) {
       if (TPC.isGlobalISelAbortEnabled())
-        reportSelectionError(MF, MI, "VReg as no regclass after selection");
+        reportSelectionError(MF, MI, "VReg has no regclass after selection");
       Failed = true;
       break;
     }




More information about the llvm-commits mailing list