SystemZ: Avoid left shifting negative values (it's UB)
authorJustin Bogner <mail@justinbogner.com>
Tue, 23 Jun 2015 15:38:24 +0000 (15:38 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 23 Jun 2015 15:38:24 +0000 (15:38 +0000)
commit3800e768a2fe4f924f80aaad985d9160e3267f02
treeb8e0bc83423169976f13875428e8fe1eb4e21dff
parent896353d6638cf4c3eb6c00e29f0b9139ebbcd441
SystemZ: Avoid left shifting negative values (it's UB)

Found by ubsan.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240420 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/SystemZISelLowering.cpp