[all-commits] [llvm/llvm-project] 47fb21: fix test failure for clang/test/CodeGen/builtin-ex...

Erich Keane via All-commits all-commits at lists.llvm.org
Tue Jun 23 13:34:59 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 47fb21d2ea903fc4cce38f8da8160cf0eacc16d0
      https://github.com/llvm/llvm-project/commit/47fb21d2ea903fc4cce38f8da8160cf0eacc16d0
  Author: Zhi Zhuang <Zhi.Zhuang at mediatek.com>
  Date:   2020-06-23 (Tue, 23 Jun 2020)

  Changed paths:
    M clang/test/CodeGen/builtin-expect-with-probability.cpp

  Log Message:
  -----------
  fix test failure for clang/test/CodeGen/builtin-expect-with-probability.cpp

Fix test case added by 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.

Differential Revision: https://reviews.llvm.org/D82403




More information about the All-commits mailing list