diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-08-30 02:03:58 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-08-30 02:03:58 +0000 |
commit | cfb7f3abdff10b573ef73216784e1a3bdd77c0c5 (patch) | |
tree | bffbc5ff6c525d7607119f72523a893b20b8b73d /clang/lib/Analysis/BasicConstraintManager.cpp | |
parent | 8eec985ac701aeba22a929ea2e1adc458ed2de7c (diff) | |
download | bcm5719-llvm-cfb7f3abdff10b573ef73216784e1a3bdd77c0c5.tar.gz bcm5719-llvm-cfb7f3abdff10b573ef73216784e1a3bdd77c0c5.zip |
Transform (x << (y&31)) -> (x << y). This takes advantage of the fact x86 shift instructions 2nd operand (shift count) is limited to 0 to 31 (or 63 in the x86-64 case).
llvm-svn: 55558
Diffstat (limited to 'clang/lib/Analysis/BasicConstraintManager.cpp')
0 files changed, 0 insertions, 0 deletions