[PATCH] D82403: fix test failure for clang/test/CodeGen/builtin-expect-with-probability.cpp

Zhi Zhuang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 23 12:54:07 PDT 2020


LukeZhuang created this revision.
LukeZhuang added a reviewer: erichkeane.
LukeZhuang added projects: LLVM, clang.
Herald added a subscriber: cfe-commits.
LukeZhuang edited the summary of this revision.

Fix test case added by D79830 <https://reviews.llvm.org/D79830>
Rewrite the test case, which did similar thing as builtin-expect.c does(test generated llvm intrinsic instead of test branch weights). 
Currently pass by "-disable-llvm-passes" option.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82403

Files:
  clang/test/CodeGen/builtin-expect-with-probability.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82403.272793.patch
Type: text/x-patch
Size: 3431 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200623/bdaae18c/attachment-0001.bin>


More information about the cfe-commits mailing list