[PATCH] Fix left shifts of negative integers in AArch64 InstPrinter/Disassembler
vonosmas at gmail.com
Fri Aug 29 15:25:15 PDT 2014
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2082 bytes
Desc: not available
More information about the llvm-commits