aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/SourceManagerTest.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-08-27 18:03:46 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-08-27 18:03:46 +0000
commitd6d1671c1eb241939b6d92687420a3f7ed56839f (patch)
tree1691a7a66bc0b9372d3bb4ccb4919a3a9ab45760 /clang/unittests/Basic/SourceManagerTest.cpp
parent74a46c24f3be4a8a758d9c9d3d838b8851cb010d (diff)
downloadllvm-d6d1671c1eb241939b6d92687420a3f7ed56839f.zip
llvm-d6d1671c1eb241939b6d92687420a3f7ed56839f.tar.gz
llvm-d6d1671c1eb241939b6d92687420a3f7ed56839f.tar.bz2
InstSimplify: Compute comparison ranges for left shift instructions
'shl nuw CI, x' produces [CI, CI << CLZ(CI)] 'shl nsw CI, x' produces [CI << CLO(CI)-1, CI] if CI is negative 'shl nsw CI, x' produces [CI, CI << CLZ(CI)-1] if CI is non-negative llvm-svn: 216570
Diffstat (limited to 'clang/unittests/Basic/SourceManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions