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)
commita6d383677d710b7258029d6dd775d3dbc73cacc8
tree5ac109fd8a2f523d2ab7b68435c6f14d40c01db8
parent49381bee2e466d6d43025fb79db2b663dd4f6ae1
SystemZ: Avoid left shifting negative values (it's UB)

Found by ubsan.

llvm-svn: 240420
llvm/lib/Target/SystemZ/SystemZISelLowering.cpp