diff options
author | Sanjay Patel <spatel@rotateright.com> | 2016-08-19 15:40:44 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2016-08-19 15:40:44 +0000 |
commit | 57b12d3876af84f1f394ab5183ec9fdfe15f45a5 (patch) | |
tree | baa82fd2c4927d96bb45b516cfedf4b72097fb58 /llvm/lib/Transforms/Utils/CloneFunction.cpp | |
parent | e1937bb524b7c6fd07f13a1ff42bc942fc05458e (diff) | |
download | llvm-57b12d3876af84f1f394ab5183ec9fdfe15f45a5.zip llvm-57b12d3876af84f1f394ab5183ec9fdfe15f45a5.tar.gz llvm-57b12d3876af84f1f394ab5183ec9fdfe15f45a5.tar.bz2 |
[InstCombine] use m_APInt to allow icmp X, C folds for splat constant vectors
Of course, we really need to refactor and fix all of the cmp predicates,
but this one is interesting because without it, we later perform an
information-losing transform of icmp (shl 1, Y), C, and we can't recover
the better fold.
llvm-svn: 279263
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneFunction.cpp')
0 files changed, 0 insertions, 0 deletions