diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-08-30 14:35:35 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-08-30 14:35:35 +0000 |
commit | 010f1083822397e5ec977c79ff08b8e93b18ec0f (patch) | |
tree | 5613c90c2ecb8048e7b9b1ea40c72245cb5ae037 /clang/unittests/ASTMatchers/Dynamic/VariantValueTest.cpp | |
parent | 1790ea000b160840368545c125297fd1602e7406 (diff) | |
download | bcm5719-llvm-010f1083822397e5ec977c79ff08b8e93b18ec0f.tar.gz bcm5719-llvm-010f1083822397e5ec977c79ff08b8e93b18ec0f.zip |
InstCombine: Check for zero shift amounts before subtracting one causing integer overflow.
PR17026. Also avoid undefined shifts and shift amounts larger than 64 bits
(those are always undef because we can't represent integer types that large).
llvm-svn: 189672
Diffstat (limited to 'clang/unittests/ASTMatchers/Dynamic/VariantValueTest.cpp')
0 files changed, 0 insertions, 0 deletions