Fix undefined behavior (left shift of negative value) in SystemZ backend.
authorAlexey Samsonov <vonosmas@gmail.com>
Wed, 20 Aug 2014 21:56:43 +0000 (21:56 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Wed, 20 Aug 2014 21:56:43 +0000 (21:56 +0000)
commitd1e3fcf347ffaff463c29773a9d7a43b4fc2a896
tree92b1e95b075936f5d178cac42ebec5350e7ee957
parentdac67649f271cc085f61d450c649a3ca271c8828
Fix undefined behavior (left shift of negative value) in SystemZ backend.

This bug is reported by UBSan.

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