]> granicus.if.org Git - llvm/commitdiff
GlobalISel: Fix typo in error message
authorJustin Bogner <mail@justinbogner.com>
Wed, 25 Jan 2017 06:02:10 +0000 (06:02 +0000)
committerJustin Bogner <mail@justinbogner.com>
Wed, 25 Jan 2017 06:02:10 +0000 (06:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293023 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/GlobalISel/InstructionSelect.cpp

index 0db7fd9f1ae75b97c57d42e3ee85f7d331787c1e..4c40387eed32fd0a26f1f5dd4d5f122657ca5b32 100644 (file)
@@ -146,7 +146,7 @@ bool InstructionSelect::runOnMachineFunction(MachineFunction &MF) {
                    : &*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;
     }