[Clang] Use pattern to match profile metadata in test.
authorFlorian Hahn <flo@fhahn.com>
Fri, 25 Mar 2022 21:05:58 +0000 (21:05 +0000)
committerFlorian Hahn <flo@fhahn.com>
Fri, 25 Mar 2022 21:05:58 +0000 (21:05 +0000)
commitbb9bdef4df8a9db4f9ff4ed340cf59948f2145c7
treec06b00dba2978d81a0c28de09883080744025ab0
parent7dfad948f12a8200e5d01f3815482ce9a00d4103
[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.
clang/test/CodeGenCXX/attr-likelihood-if-vs-builtin-expect.cpp