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)
commitee1247be7bce73037758e518162f18225254628f
treecf72d01153a7bb3e2999c5445d170d9e6ffa5314
parentc97c48aadcf3e2091b6380bfc6b873fbf3909021
Hexagon: Avoid left shifting negative values (it's UB)

Found by ubsan.

llvm-svn: 240521
llvm/lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.h