diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-05-11 17:25:50 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-05-11 17:25:50 +0000 |
commit | db692e7d5539bcdac5b892904b06caef4591c096 (patch) | |
tree | 85b666f8a7ac46267a70ee099021ab4a49c7c482 /lib/CodeGen/LexicalScopes.cpp | |
parent | 42e3b31d698dfe492c1c33adbbc6b98be9918fd2 (diff) | |
download | llvm-db692e7d5539bcdac5b892904b06caef4591c096.tar.gz llvm-db692e7d5539bcdac5b892904b06caef4591c096.tar.bz2 llvm-db692e7d5539bcdac5b892904b06caef4591c096.tar.xz |
DebugInfo: Simplify/correct test for correct constant emission when dealing with derived types.
This test was using the inliner and other optimizations to test a case
that's actually a bug anyway. Bug and possible fix/discussion described
here ( http://reviews.llvm.org/D3714 ).
But the functionality that was implemented along with this test is still
desired, so simplify the test to verify a more obvious/less wrong case
that the functionality addressed: looking through const sugar to the
underlying type when emitting a constant (so the constant is emitted as
signed/unsigned as appropriate depending on the signedness of the
underlying type).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208504 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LexicalScopes.cpp')
0 files changed, 0 insertions, 0 deletions