commit | 45788be6e2603ecfc149f43df1a6d5e04c5734d8 | [log] [tgz] |
---|---|---|
author | Michael Zolotukhin <mzolotukhin@apple.com> | Sat May 24 08:09:57 2014 +0000 |
committer | Michael Zolotukhin <mzolotukhin@apple.com> | Sat May 24 08:09:57 2014 +0000 |
tree | bd70a5049ceac2d3d050ae7d1fce340227808277 | |
parent | 6a04ef99f64c60e8368f23fa7717b74dc83cd6e1 [diff] |
Implement sext(C1 + C2*X) --> sext(C1) + sext(C2*X) and sext{C1,+,C2} --> sext(C1) + sext{0,+,C2} transformation in Scalar Evolution. That helps SLP-vectorizer to recognize consecutive loads/stores. <rdar://problem/14860614> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209568 91177308-0d34-0410-b5e6-96231b3b80d8