commit | 9769d9a0aad8caeb8f6c36b0071bbb9c54e43c54 | [log] [tgz] |
---|---|---|
author | Tim Northover <tnorthover@apple.com> | Wed Nov 16 20:54:28 2016 +0000 |
committer | Tim Northover <tnorthover@apple.com> | Wed Nov 16 20:54:28 2016 +0000 |
tree | bdbfbbb1f27b77d1d5f7e9c22f7f90bb10854504 | |
parent | 4146fdbd6d8b0de62e7414dcd8dd6f3e9d0bc423 [diff] |
ARM: fix CodeGen for 64-bit shifts. One half of the shifts obviously needed conditional selection based on whether the shift amount is more than 32-bits, but leaving the other half as the natural shift isn't acceptable either: it's undefined behaviour to shift a 32-bit value by more than 31. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287149 91177308-0d34-0410-b5e6-96231b3b80d8