commit | 3f7ab5c5dc4e2b17119212ca1fbbbdf999d2a0b4 | [log] [tgz] |
---|---|---|
author | Zhou Sheng <zhousheng00@gmail.com> | Thu Jun 05 13:27:38 2008 +0000 |
committer | Zhou Sheng <zhousheng00@gmail.com> | Thu Jun 05 13:27:38 2008 +0000 |
tree | 1344f9a6597100e992eb617bd28bffc880832f79 | |
parent | e45e2c85ef095a5d7806f35efb45fa090c268fbc [diff] |
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51999 91177308-0d34-0410-b5e6-96231b3b80d8