diff options
author | Sanjay Patel <spatel@rotateright.com> | 2017-07-15 15:55:07 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2017-07-15 15:55:07 +0000 |
commit | a59aac675c997fa316416d72ee44e91c67a269e4 (patch) | |
tree | 30a9c93114d7890d64b2a98783c25db14f8853b8 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 21a101938708edcd3db887dfa0fee73037db13b0 (diff) | |
download | bcm5719-llvm-a59aac675c997fa316416d72ee44e91c67a269e4.tar.gz bcm5719-llvm-a59aac675c997fa316416d72ee44e91c67a269e4.zip |
[InstCombine] add tests for (1 << x) & 1 --> zext(x == 0) ; NFC
This fold hit the trifecta:
1. It was untested.
2. It oversteps (multiuse is not checked, so increases instruction count).
3. It is incomplete (doesn't work for vectors).
llvm-svn: 308102
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions