llvm-6502/lib/Target/Mips/Disassembler
Justin Bogner 46a8f93144 [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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240381 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-23 07:28:57 +00:00
..
CMakeLists.txt Cleaning up a bunch of pre-Visual C++ 2012 build hacks. 2014-03-04 09:23:33 +00:00
LLVMBuild.txt Prune dependency to MC from each target disassembler. 2014-07-24 11:45:11 +00:00
Makefile
MipsDisassembler.cpp [mips] Fix some UB by shifting before sign-extending 2015-06-23 07:28:57 +00:00