aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitReader.cpp
diff options
context:
space:
mode:
authorTim Northover <t.p.northover@gmail.com>2020-07-27 13:29:49 +0100
committerTim Northover <t.p.northover@gmail.com>2020-07-27 13:49:50 +0100
commit0f1494be43f0916516533fea9d99e9211bb4c581 (patch)
treeee4702e33bb774e9361c29393bdeb39aa2a701cb /llvm/lib/Bitcode/Reader/BitReader.cpp
parent08e9556d5d77fb424b8cb99fe16ffe2bc77f555e (diff)
downloadllvm-0f1494be43f0916516533fea9d99e9211bb4c581.zip
llvm-0f1494be43f0916516533fea9d99e9211bb4c581.tar.gz
llvm-0f1494be43f0916516533fea9d99e9211bb4c581.tar.bz2
AArch64: avoid UB shift of negative value
Left shifting a negative value is undefined behaviour, so this just moves the negation afterwards to avoid it.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitReader.cpp')
0 files changed, 0 insertions, 0 deletions