[all-commits] [llvm/llvm-project] bb9bde: [Clang] Use pattern to match profile metadata in t...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Mar 25 14:06:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb9bdef4df8a9db4f9ff4ed340cf59948f2145c7
      https://github.com/llvm/llvm-project/commit/bb9bdef4df8a9db4f9ff4ed340cf59948f2145c7
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-03-25 (Fri, 25 Mar 2022)

  Changed paths:
    M clang/test/CodeGenCXX/attr-likelihood-if-vs-builtin-expect.cpp

  Log Message:
  -----------
  [Clang] Use pattern to match profile metadata in test.

Make the test more robust to slightly different metadata numbering by
using a pattern instead of hard coding the ids.




More information about the All-commits mailing list