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 | 958647c36decf8670f8dbfa27de4ffe48ea9f38e (patch) | |
| tree | fb30d2502c3b36b9bc306e164c457003782c85af /llvm/lib/CodeGen/RegAllocBase.cpp | |
| parent | 062bf473c142e4f2000177acded090a7c5e2eab0 (diff) | |
| download | bcm5719-llvm-958647c36decf8670f8dbfa27de4ffe48ea9f38e.tar.gz bcm5719-llvm-958647c36decf8670f8dbfa27de4ffe48ea9f38e.zip | |
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.
llvm-svn: 208494
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBase.cpp')
0 files changed, 0 insertions, 0 deletions

