summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2015-04-30 22:58:28 +0000
committerJustin Bogner <mail@justinbogner.com>2015-04-30 22:58:28 +0000
commit2e5d484597ff0ab232f8db03c5e2bb2933cdb88e (patch)
tree2c5a5832045319c4b4caa472ad618269b0d7d84a /llvm/lib/Support
parent9dd1fbdca6548b401ae224c608e69a1fe909cbcf (diff)
downloadbcm5719-llvm-2e5d484597ff0ab232f8db03c5e2bb2933cdb88e.tar.gz
bcm5719-llvm-2e5d484597ff0ab232f8db03c5e2bb2933cdb88e.zip
InstrProf: Fix handling of profile counters in the body of range based for
We were assigning the counter for the body of the loop to the loop variable initialization for some reason here, but our tests completely lacked coverage for range-for loops. This fixes that and makes the logic generally more similar to the logic for a regular for. llvm-svn: 236277
Diffstat (limited to 'llvm/lib/Support')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud