[PATCH] D51193: [PGO] Print target md5sum in missed optimization message

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 24 13:53:00 PDT 2018


xur accepted this revision.
xur added a comment.
This revision is now accepted and ready to land.

Looks good to me.



================
Comment at: test/Transforms/PGOProfile/icp_mismatch_msg.ll:5
 ; CHECK: remark: <unknown>:0:0: Cannot promote indirect call to func4 with count of 1234: The number of arguments mismatch
-; CHECK: remark: <unknown>:0:0: Cannot promote indirect call: target not found
+; CHECK: remark: <unknown>:0:0: Cannot promote indirect call: target with {{.*}} not found
 ; CHECK: remark: <unknown>:0:0: Cannot promote indirect call to func2 with count of 7890: Return type mismatch
----------------
s/with/with md5sum/?


https://reviews.llvm.org/D51193





More information about the llvm-commits mailing list