summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AArch64/wrong_debug_loc_after_regalloc.ll
Commit message (Collapse)AuthorAgeFilesLines
* [DebugInfo] Incorrect debug info record generated for loop counter.Alexey Lapshin2019-06-061-0/+171
Incorrect Debug Variable Range was calculated while "COMPUTING LIVE DEBUG VARIABLES" stage. Range for Debug Variable("i") computed according to current state of instructions inside of basic block. But Register Allocator creates new instructions which were not taken into account when Live Debug Variables computed. In the result DBG_VALUE instruction for the "i" variable was put after these newly inserted instructions. This is incorrect. Debug Value for the loop counter should be inserted before any loop instruction. Differential Revision: https://reviews.llvm.org/D62650 llvm-svn: 362750
OpenPOWER on IntegriCloud