llvm-project/llvm/lib
Weiming Zhao a4259cd3a6 [AArch64] Fix UB about shift amount exceeds data bit-width
Summary:
Fixes an UB caught by sanitizer. The shift amount might be larger than 32 so the operand should be 1ULL.
In this patch,  we replace the original expression with  existing API with uint64_t type.

Reviewers: eli.friedman, rengolin

Reviewed By: rengolin

Subscribers: rengolin, javed.absar, llvm-commits, kristof.beyls

Differential Revision: https://reviews.llvm.org/D44234

llvm-svn: 326969
2018-03-08 00:28:25 +00:00
..
Analysis DA: remove uses of GEP, only ask SCEV 2018-03-06 21:55:59 +00:00
AsmParser Make the LLParser accept call instructions of variables in the program AS 2018-02-27 11:15:11 +00:00
BinaryFormat Teach identify_file_magic to identify PDB files. 2018-03-07 18:40:41 +00:00
Bitcode [DebugInfo] Support DWARF v5 source code embedding extension 2018-02-23 23:01:06 +00:00
CodeGen [Pipeliner] Fixed node order issue related to zero latency edges 2018-03-07 18:53:36 +00:00
DebugInfo Fix build broken by r326959 2018-03-08 00:07:26 +00:00
Demangle Silence a bunch of implicit fallthrough warnings 2017-12-19 22:05:25 +00:00
ExecutionEngine [RuntimeDyld][MachO] Fix assertion in encodeAddend, add missing directive to 2018-03-01 01:44:33 +00:00
FuzzMutate [llvm-opt-fuzzer] Add another pack of passes for continuous fuzzing 2018-02-19 11:57:07 +00:00
Fuzzer [libFuzzer] Delete llvm/lib/Fuzzer 2017-10-16 20:48:19 +00:00
IR Refactor check for dllimport in the Verifier. 2018-03-06 17:19:23 +00:00
IRReader LLParser: add an argument for overriding data layout and do not check alloca addr space 2018-01-30 22:32:39 +00:00
LTO [LTO] Support filtering by hotness threshold 2018-02-26 18:37:45 +00:00
LineEditor
Linker [ThinLTO] Revert r325320: Import global variables 2018-03-02 23:40:08 +00:00
MC Revert "Reapply "[DWARFv5] Emit file 0 to the line table."" 2018-03-07 16:27:44 +00:00
Object Update a few switch statements to handle file_magic::pdb. 2018-03-07 18:58:33 +00:00
ObjectYAML Revert r326932: [DebugInfo] Support DWARF expressions in eh_frame 2018-03-07 22:29:48 +00:00
Option [Bash-autocompletion] Pass all flags in shell command-line to Clang 2018-03-05 08:54:20 +00:00
Passes Another try to commit 323321 (aggressive instruction combine). 2018-01-25 12:06:32 +00:00
ProfileData [SampleFDO] Extend SampleProfReader to handle demangled names. 2018-03-07 16:45:33 +00:00
Support [Support] Stop passing StringRefs by const reference in some of the getHostCPUname implementations. NFC 2018-03-07 17:53:16 +00:00
TableGen TableGen: Add !foldl operation 2018-03-06 13:49:16 +00:00
Target [AArch64] Fix UB about shift amount exceeds data bit-width 2018-03-08 00:28:25 +00:00
Testing Force #define GTEST_LANG_CXX11. 2017-10-27 21:12:28 +00:00
ToolDrivers [COFF] Keep the underscore on exported decorated stdcall functions in MSVC mode 2018-01-20 11:44:32 +00:00
Transforms [AMDGPU] Increased vector length for global/constant loads. 2018-03-07 17:09:18 +00:00
WindowsManifest Fix bug 34608 by moving private header out of public header. 2017-09-14 23:01:13 +00:00
XRay [XRay] clarify error messages when parsing broken traces 2018-01-30 13:41:34 +00:00
CMakeLists.txt
LLVMBuild.txt