summaryrefslogtreecommitdiff
path: root/test/profile
diff options
context:
space:
mode:
authorSerguei Katkov <serguei.katkov@azul.com>2018-02-08 07:15:49 +0000
committerSerguei Katkov <serguei.katkov@azul.com>2018-02-08 07:15:49 +0000
commitdf07897cb7ceb186e5e1d8eabe72c23083704878 (patch)
tree98e5e1bfcfb221abfe778aa15a346fc367ffff34 /test/profile
parent18a0d3b3babd8e527884358674c1279ab26552cc (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@324571 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/profile')
-rw-r--r--test/profile/Linux/counter_promo_nest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/profile/Linux/counter_promo_nest.c b/test/profile/Linux/counter_promo_nest.c
index 0792f0c76..ebd52dda7 100644
--- a/test/profile/Linux/counter_promo_nest.c
+++ b/test/profile/Linux/counter_promo_nest.c
@@ -25,6 +25,9 @@ int main()
// PROMO: load{{.*}}@__profc_main{{.*}}
// PROMO-NEXT: add
// PROMO-NEXT: store{{.*}}@__profc_main{{.*}}
+// PROMO: load{{.*}}@__profc_main{{.*}}
+// PROMO-NEXT: add
+// PROMO-NEXT: store{{.*}}@__profc_main{{.*}}
// PROMO-NEXT: load{{.*}}@__profc_main{{.*}}
// PROMO-NEXT: add
// PROMO-NEXT: store{{.*}}@__profc_main{{.*}}