diff options
author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2014-10-09 12:41:49 +0000 |
---|---|---|
committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2014-10-09 12:41:49 +0000 |
commit | 458a669f49e30a30b0fbfcc34fc4e556befbb73b (patch) | |
tree | 3910473c2104a4a7138d9c50220f32f2bca5a13a /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9b280eab6699e4d1e3e203254ec93b424f10f40d (diff) | |
download | llvm-458a669f49e30a30b0fbfcc34fc4e556befbb73b.zip llvm-458a669f49e30a30b0fbfcc34fc4e556befbb73b.tar.gz llvm-458a669f49e30a30b0fbfcc34fc4e556befbb73b.tar.bz2 |
[InstCombine] Fix wrong folding of constant comparisons involving ashr and negative values.
This patch fixes a bug in method InstCombiner::FoldCmpCstShrCst where we
wrongly computed the distance between the highest bits set of two negative
values.
This fixes PR21222.
Differential Revision: http://reviews.llvm.org/D5700
llvm-svn: 219406
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions