From 4844573eb1dda9287e54ee70bc7acf3e238a889b Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Wed, 25 Jan 2017 06:02:10 +0000 Subject: GlobalISel: Fix typo in error message llvm-svn: 293023 --- llvm/lib/CodeGen/GlobalISel/InstructionSelect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen') diff --git a/llvm/lib/CodeGen/GlobalISel/InstructionSelect.cpp b/llvm/lib/CodeGen/GlobalISel/InstructionSelect.cpp index 0db7fd9f1ae..4c40387eed3 100644 --- a/llvm/lib/CodeGen/GlobalISel/InstructionSelect.cpp +++ b/llvm/lib/CodeGen/GlobalISel/InstructionSelect.cpp @@ -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; } -- cgit v1.2.3