Hexagon: Avoid left shifting negative values (it's UB)
authorJustin Bogner <mail@justinbogner.com>
Wed, 24 Jun 2015 06:00:53 +0000 (06:00 +0000)
committerJustin Bogner <mail@justinbogner.com>
Wed, 24 Jun 2015 06:00:53 +0000 (06:00 +0000)
commitef4ff212af39380c85c6fee72a3d5a4d9a9787ee
treeb9619901bfa7b0c76f575eff626b49a75236d7ec
parentcac03419a614ad60205d8d55daa3f9e7cc3cc7f1
Hexagon: Avoid left shifting negative values (it's UB)

Found by ubsan.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240521 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.h