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
Loading
Please sign in to comment