Update test counter_promo_nest.c to meet llvm change
authorSerguei Katkov <serguei.katkov@azul.com>
Thu, 8 Feb 2018 07:15:49 +0000 (07:15 +0000)
committerSerguei Katkov <serguei.katkov@azul.com>
Thu, 8 Feb 2018 07:15:49 +0000 (07:15 +0000)
commitd535c4d9d244171f94d1d83cdb2292b39577a5b0
treef7a825cfb8ecf244c94b57e3d7bfb4bf2de2ae61
parent0b75eee4d29e2783c0ef4aa4c243aeb5522696f6
Update test counter_promo_nest.c to meet llvm change

The test expects to see the pattern "load add store" twice
in a row.

However the test contains actually several instances of this pattern.
Currently the first pattern appears in the output twice.

But after LLVM change https://reviews.llvm.org/D42691 some addtional
modification is done and one of another pattern has been hoisted in
function entry block.

As a result we have another order of meeting this pattern.
The test is updated to meet this change.

llvm-svn: 324571
compiler-rt/test/profile/Linux/counter_promo_nest.c