diff options
author | Sanjay Patel <spatel@rotateright.com> | 2016-08-18 21:28:30 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2016-08-18 21:28:30 +0000 |
commit | 98cd99dfc671b78ff6d840d474ac9575ad3ea68b (patch) | |
tree | 51d2ea480ca0bc8e7af23aabbe246ea45bfa7550 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 2b25799bcc1296c1c97397a7c520e0a5b9b682ef (diff) | |
download | llvm-98cd99dfc671b78ff6d840d474ac9575ad3ea68b.zip llvm-98cd99dfc671b78ff6d840d474ac9575ad3ea68b.tar.gz llvm-98cd99dfc671b78ff6d840d474ac9575ad3ea68b.tar.bz2 |
[InstCombine] add helper function for folds of icmp (shl 1, Y), C; NFCI
Clean up the existing code by:
1. Renaming variables
2. Adding local variables
3. Making it vector-safe
This is still guarded by a ConstantInt check, so no functional change is intended.
But this should be ready to go: if we move the ConstantInt check down, all of
these folds should do the right thing for vector types.
llvm-svn: 279150
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions