aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/DFAPacketizer.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2015-06-23 07:28:57 +0000
committerJustin Bogner <mail@justinbogner.com>2015-06-23 07:28:57 +0000
commit6499b5f086a2390b3d3d57087e90bdeb1b43cc47 (patch)
treefa0435fd3986ba5a683cbd8c410b28be44429d30 /llvm/lib/CodeGen/DFAPacketizer.cpp
parent47ab1fa6d6af6569c9b6cf2049c91aae1bfc2402 (diff)
downloadllvm-6499b5f086a2390b3d3d57087e90bdeb1b43cc47.zip
llvm-6499b5f086a2390b3d3d57087e90bdeb1b43cc47.tar.gz
llvm-6499b5f086a2390b3d3d57087e90bdeb1b43cc47.tar.bz2
[mips] Fix some UB by shifting before sign-extending
Avoid shifting a negative value by sign-extending after the shift. Fixes a couple of tests that were failing under ubsan. llvm-svn: 240381
Diffstat (limited to 'llvm/lib/CodeGen/DFAPacketizer.cpp')
0 files changed, 0 insertions, 0 deletions