diff options
| author | Tamas Berghammer <tberghammer@google.com> | 2015-11-13 10:51:35 +0000 |
|---|---|---|
| committer | Tamas Berghammer <tberghammer@google.com> | 2015-11-13 10:51:35 +0000 |
| commit | 2e31ce1ea7ce3a16202bb55130d552b753282a33 (patch) | |
| tree | 157de0c6ca63cbfcef585d62aed573570467519e /llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp | |
| parent | be994649b44300e53c5c6801dbc5803e67d8ac12 (diff) | |
| download | llvm-2e31ce1ea7ce3a16202bb55130d552b753282a33.zip llvm-2e31ce1ea7ce3a16202bb55130d552b753282a33.tar.gz llvm-2e31ce1ea7ce3a16202bb55130d552b753282a33.tar.bz2 | |
Remove a broken hack from Scalar::ULongLong and fix a test
Change Test-rdar-12481949.py to expect GetValueAsUnsigned() to return
0xffffffff if the variable is an int32_t (signed, 4 byte integer) with
value of -1. The previous expectation where we expected the value to be
0xffffffffffffffff doesn't make sense as nothing explains why we would
treat it as an 8 byte value.
This CL also removes a hack from Scalar::ULongLong what was most likely
added to get this test passing as it only worked in case the value of
the variable is -1 and didn't make any sense even in that case.
Differential revision: http://reviews.llvm.org/D14611
llvm-svn: 253027
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp')
0 files changed, 0 insertions, 0 deletions
