[llvm] r323711 - [globalisel][legalizer] Fix a fallthrough case in the unittests debug printing

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 29 15:47:41 PST 2018


Author: dsanders
Date: Mon Jan 29 15:47:41 2018
New Revision: 323711

URL: http://llvm.org/viewvc/llvm-project?rev=323711&view=rev
Log:
[globalisel][legalizer] Fix a fallthrough case in the unittests debug printing

Modified:
    llvm/trunk/unittests/CodeGen/GlobalISel/LegalizerInfoTest.cpp

Modified: llvm/trunk/unittests/CodeGen/GlobalISel/LegalizerInfoTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/CodeGen/GlobalISel/LegalizerInfoTest.cpp?rev=323711&r1=323710&r2=323711&view=diff
==============================================================================
--- llvm/trunk/unittests/CodeGen/GlobalISel/LegalizerInfoTest.cpp (original)
+++ llvm/trunk/unittests/CodeGen/GlobalISel/LegalizerInfoTest.cpp Mon Jan 29 15:47:41 2018
@@ -28,7 +28,7 @@ operator<<(std::ostream &OS, const Legal
   case Libcall: OS << "Libcall"; break;
   case Custom: OS << "Custom"; break;
   case Unsupported: OS << "Unsupported"; break;
-  case NotFound: OS << "NotFound";
+  case NotFound: OS << "NotFound"; break;
   case UseLegacyRules: OS << "UseLegacyRules"; break;
   }
   return OS;




More information about the llvm-commits mailing list