diff options
| author | David Blaikie <dblaikie@gmail.com> | 2014-05-11 15:06:20 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2014-05-11 15:06:20 +0000 |
| commit | d0125ee3818e2182978899d309f996a3fef493e2 (patch) | |
| tree | fffb57163be3b5be4e639bfd153ba502964851fc /lib/Bitcode/Writer/ValueEnumerator.cpp | |
| parent | 4db3f410121b1026d47a8de4b79f4a3f4cf9f088 (diff) | |
| download | llvm-d0125ee3818e2182978899d309f996a3fef493e2.tar.gz llvm-d0125ee3818e2182978899d309f996a3fef493e2.tar.bz2 llvm-d0125ee3818e2182978899d309f996a3fef493e2.tar.xz | |
DebugInfo: Simplify constant value emission.
This code looks to have become dead at some time in the past. I tried to
reproduce cases where LLVM would emit constants with dataN, but could
not. Upon inspection it seems the code doesn't do that anymore - the
only time a size is provided by isTypeSigned is when the type is signed,
and in those cases we use sdata. dataN is only used for unsigned types
and isTypeSigned doesn't provide a value for sizeInBits in that case.
Remove the dead cases/size plumbing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208494 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer/ValueEnumerator.cpp')
0 files changed, 0 insertions, 0 deletions
