diff options
author | Tim Northover <t.p.northover@gmail.com> | 2020-07-27 13:29:49 +0100 |
---|---|---|
committer | Tim Northover <t.p.northover@gmail.com> | 2020-07-27 13:49:50 +0100 |
commit | 0f1494be43f0916516533fea9d99e9211bb4c581 (patch) | |
tree | ee4702e33bb774e9361c29393bdeb39aa2a701cb /llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp | |
parent | 08e9556d5d77fb424b8cb99fe16ffe2bc77f555e (diff) | |
download | llvm-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/BitcodeAnalyzer.cpp')
0 files changed, 0 insertions, 0 deletions