[PATCH] D39446: [PGO] Detect more structural changes with the stable hash

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 10 15:44:30 PST 2017

arphaman added a comment.

Generally it LG

Comment at: lib/CodeGen/CodeGenPGO.cpp:244
What about `ObjCAtTryStmt`?

Comment at: lib/CodeGen/CodeGenPGO.cpp:321
+        return PGOHash::ReturnStmt;
+      case Stmt::CXXThrowExprClass:
+        return PGOHash::ThrowExpr;
Might as well include the `ObjCAtThrowStmt` as well.


More information about the cfe-commits mailing list