Fix profile test assuming dumb compiler
authorRenato Golin <renato.golin@linaro.org>
Thu, 1 Sep 2016 13:45:47 +0000 (13:45 +0000)
committerRenato Golin <renato.golin@linaro.org>
Thu, 1 Sep 2016 13:45:47 +0000 (13:45 +0000)
commit0f298a2655d01f531bd4bc9d082aeba7615091f9
treedaee185dd4734816a96882ffbba87ef20fe07b71
parent88cad7e5cf465fdb995424058e0e111a65493f6e
Fix profile test assuming dumb compiler

Commit r280364 has introduced some call-graph optmisations making a profiler
test "fail" due to not expecting the compiler to be "smart", and fold constants
across functions. This commit works around the issue, leaving the origial
semantics intact.

llvm-svn: 280365
compiler-rt/test/profile/Linux/instrprof-cs.c