diff options
| author | Zhou Sheng <zhousheng00@gmail.com> | 2008-06-05 13:27:38 +0000 |
|---|---|---|
| committer | Zhou Sheng <zhousheng00@gmail.com> | 2008-06-05 13:27:38 +0000 |
| commit | 1247c077429d60fcbc2845c300a7d372bdb3bec4 (patch) | |
| tree | fbdad87a6d757940d72fa2517289af1463676ef3 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | 0702adc65ebc3a96084132809bce44c89bc01db1 (diff) | |
| download | llvm-1247c077429d60fcbc2845c300a7d372bdb3bec4.zip llvm-1247c077429d60fcbc2845c300a7d372bdb3bec4.tar.gz llvm-1247c077429d60fcbc2845c300a7d372bdb3bec4.tar.bz2 | |
As comments said, for negative value, the arithmetic
over-shift-right should return -1. So here it should be signed-extended,
when bitwidth larger than 64.
test case: llvm/test/ExecutionEngine/2008-06-05-APInt-OverAShr.ll
llvm-svn: 51999
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
