[llvm] r317568 - Silence C4715 warning from MSVC (NFC).
Kristof Beyls via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 7 03:54:00 PST 2017
Author: kbeyls
Date: Tue Nov 7 03:54:00 2017
New Revision: 317568
URL: http://llvm.org/viewvc/llvm-project?rev=317568&view=rev
Log:
Silence C4715 warning from MSVC (NFC).
The warning started triggering after r317560.
This commit silences it in the same way as previously done in a similar
situation, see
http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20140915/236088.html
Modified:
llvm/trunk/lib/CodeGen/GlobalISel/LegalizerInfo.cpp
Modified: llvm/trunk/lib/CodeGen/GlobalISel/LegalizerInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/GlobalISel/LegalizerInfo.cpp?rev=317568&r1=317567&r2=317568&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/GlobalISel/LegalizerInfo.cpp (original)
+++ llvm/trunk/lib/CodeGen/GlobalISel/LegalizerInfo.cpp Tue Nov 7 03:54:00 2017
@@ -307,6 +307,7 @@ LegalizerInfo::findAction(const SizeAndA
case NotFound:
llvm_unreachable("NotFound");
}
+ llvm_unreachable("Action has an unknown enum value");
}
std::pair<LegalizerInfo::LegalizeAction, LLT>
More information about the llvm-commits
mailing list