llvm-6502/lib/Target/AArch64/Disassembler
Alexey Samsonov 4648487925 Fix left shifts of negative integers in AArch64 InstPrinter/Disassembler
Summary:
Left shift of negative integer is an undefined behavior, and
is reported by UBSan. It's ok for imm values to be negative, so we can
just replace left shifts with multiplications.

Test Plan: check-llvm test suite

Reviewers: t.p.northover

Reviewed By: t.p.northover

Subscribers: aemerson, mcrosier, llvm-commits

Differential Revision: http://reviews.llvm.org/D5132

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216910 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-02 16:19:41 +00:00
..
AArch64Disassembler.cpp
AArch64Disassembler.h
AArch64ExternalSymbolizer.cpp
AArch64ExternalSymbolizer.h
CMakeLists.txt
LLVMBuild.txt
Makefile