Fix integer undefined behavior due to signed left shift overflow in LLVM.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 24 Aug 2012 23:29:28 +0000 (23:29 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 24 Aug 2012 23:29:28 +0000 (23:29 +0000)
commit228e6d4cf347820fce53e57c24b266f67a413d85
treed2b63a5d9cee710515d33361e84ad0988d2c31fa
parent3d91b43ad22b69408af224a8d67561038705ec55
Fix integer undefined behavior due to signed left shift overflow in LLVM.
Reviewed offline by chandlerc.

llvm-svn: 162623
19 files changed:
llvm/include/llvm/ADT/BitVector.h
llvm/include/llvm/ADT/DenseMapInfo.h
llvm/include/llvm/ADT/PointerIntPair.h
llvm/include/llvm/ADT/SparseBitVector.h
llvm/include/llvm/CodeGen/MachineOperand.h
llvm/include/llvm/Support/MathExtras.h
llvm/lib/Analysis/ValueTracking.cpp
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
llvm/lib/Support/regexec.c
llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
llvm/lib/Target/CellSPU/SPUAsmPrinter.cpp
llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp
llvm/lib/Target/Mips/MipsAnalyzeImmediate.cpp
llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c
llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
llvm/utils/TableGen/CodeGenDAGPatterns.cpp