[all-commits] [llvm/llvm-project] 79ceda: Fix test added by D79830

Erich Keane via All-commits all-commits at lists.llvm.org
Tue Jun 23 08:39:51 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 79ceda2e394cefd6ce650dc40fce44295e76be2b
      https://github.com/llvm/llvm-project/commit/79ceda2e394cefd6ce650dc40fce44295e76be2b
  Author: Erich Keane <erich.keane at intel.com>
  Date:   2020-06-23 (Tue, 23 Jun 2020)

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

  Log Message:
  -----------
  Fix test added by D79830

This clang test unfortunately depends on the actions of the optimizer,
which some of the buildbots hit.

This patch makes it so it cannot ignore the return value of 'f', so it
won't do away with the implementation.




More information about the All-commits mailing list