OSDN Git Service

[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)
commit90978a6b8f06bf86dc5cadbdd1ba082a22bf5725
treea49e2c8aa96fa8bf982e1f2d89316dc96b6898fe
parent4b6011ecbe05cb86f395f690640865d7f90bce9f
[Hexagon] Perform bit arithmetic on unsigned to avoid accidentally shifting negative values.

Found by ubsan.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277268 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/HexagonConstPropagation.cpp