r236298 - InstrProf: This call does nothing, remove it

Justin Bogner mail at justinbogner.com
Thu Apr 30 18:02:17 PDT 2015


Author: bogner
Date: Thu Apr 30 20:02:17 2015
New Revision: 236298

URL: http://llvm.org/viewvc/llvm-project?rev=236298&view=rev
Log:
InstrProf: This call does nothing, remove it

Modified:
    cfe/trunk/lib/CodeGen/CGCall.cpp

Modified: cfe/trunk/lib/CodeGen/CGCall.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGCall.cpp?rev=236298&r1=236297&r2=236298&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGCall.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGCall.cpp Thu Apr 30 20:02:17 2015
@@ -2971,7 +2971,6 @@ void CodeGenFunction::EmitNoreturnRuntim
     call->setCallingConv(getRuntimeCC());
     Builder.CreateUnreachable();
   }
-  PGO.setCurrentRegionUnreachable();
 }
 
 /// Emits a call or invoke instruction to the given nullary runtime





More information about the cfe-commits mailing list