| commit | 903338511bfd613bc6f41fb7c9d156e3fbb5fd57 | [log] [tgz] |
|---|---|---|
| author | Lang Hames <lhames@gmail.com> | Thu Apr 09 03:40:33 2015 +0000 |
| committer | Lang Hames <lhames@gmail.com> | Thu Apr 09 03:40:33 2015 +0000 |
| tree | fd17369a32dc9252301a01c7d2da9830a25d0b1b | |
| parent | 132381f9811190993b389e5171d30a1e2cd07f61 [diff] |
[AArch64] Teach AArch64TargetLowering::getOptimalMemOpType to consider alignment restrictions when choosing a type for small-memcpy inlining in SelectionDAGBuilder. This ensures that the loads and stores output for the memcpy won't be further expanded during legalization, which would cause the total number of instructions for the memcpy to exceed (often significantly) the inlining thresholds. <rdar://problem/17829180> llvm-svn: 234462