[Hexagon] Perform bit arithmetic on unsigned to avoid accidentally shifting negative...
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 30 Jul 2016 13:25:37 +0000 (13:25 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 30 Jul 2016 13:25:37 +0000 (13:25 +0000)
commitafff73cb5aae41b42bb1dc8949fa21e9838e7a92
tree502e12895342777075350c904d099d527f876d3b
parent96cb6bfa274e1284ad3c17d2b0adfcbba5234d3d
[Hexagon] Perform bit arithmetic on unsigned to avoid accidentally shifting negative values.

Found by ubsan.

llvm-svn: 277268
llvm/lib/Target/Hexagon/HexagonConstPropagation.cpp