diff options
author | Duncan Sands <baldrick@free.fr> | 2011-02-17 12:42:48 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2011-02-17 12:42:48 +0000 |
commit | c6196aa48183a6cada8458c45fbc9f5e31b08e8d (patch) | |
tree | 0c7d2d0a8da7fb8e032892d4bfd8e3d9924fbb0f /clang/lib/AST/DeclTemplate.cpp | |
parent | 4c14a5cc2cdf7ca9347110f7534cd50d1c9f7e6e (diff) | |
download | bcm5719-llvm-c6196aa48183a6cada8458c45fbc9f5e31b08e8d.tar.gz bcm5719-llvm-c6196aa48183a6cada8458c45fbc9f5e31b08e8d.zip |
Fix wrong logic in promotion of signed mul-with-overflow (I pointed this out at
the time but presumably my email got lost). Examples where the previous logic
got it wrong: (1) a signed i8 multiply of 64 by 2 overflows, but the high part is
zero; (2) a signed i8 multiple of -128 by 2 overflows, but the high part is all
ones.
llvm-svn: 125748
Diffstat (limited to 'clang/lib/AST/DeclTemplate.cpp')
0 files changed, 0 insertions, 0 deletions