diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-07-19 14:51:27 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-07-19 14:51:27 +0000 |
commit | f667db3652e1fd198ce4e3aec4cebf080a124552 (patch) | |
tree | 306e586db6b718c0e4a664c73756440d06c660d0 /test/Transforms/LoopVectorize/multiple-address-spaces.ll | |
parent | 08745de15d80abdb08b1bdd33516974d4205cb80 (diff) | |
download | llvm-f667db3652e1fd198ce4e3aec4cebf080a124552.tar.gz llvm-f667db3652e1fd198ce4e3aec4cebf080a124552.tar.bz2 llvm-f667db3652e1fd198ce4e3aec4cebf080a124552.tar.xz |
PR15662: Optimized debug info produces out of order function parameters
When a function is inlined we lazily construct the variables
representing the function's parameters. After that, we add any remaining
unused parameters.
If the function doesn't use all the parameters, or uses them out of
order, then the DWARF would produce them in that order, producing a
parameter order that doesn't match the source.
This fix causes us to always keep the arg variables at the start of the
variable list & in the original order from the source.
Merged from r183297
Author: David Blaikie <dblaikie@gmail.com>
Date: Wed Jun 5 05:39:59 2013 +0000
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_33@186678 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LoopVectorize/multiple-address-spaces.ll')
0 files changed, 0 insertions, 0 deletions