| commit | 618975206e7bdac07f52e3955032477960d4548b | [log] [tgz] |
|---|---|---|
| author | Simon Dardis <simon.dardis@imgtec.com> | Mon Jul 25 09:57:28 2016 +0000 |
| committer | Simon Dardis <simon.dardis@imgtec.com> | Mon Jul 25 09:57:28 2016 +0000 |
| tree | 7ab57f8f28d55627db5d92851ee8a2e8b64c5b59 | |
| parent | 3a18a931a8f47879c4b246600a2bd59ca4f61c82 [diff] |
[mips] Optimize materialization of i64 constants Avoid MipsAnalyzeImmediate usage if the constant fits in an 32-bit integer. This allows us to generate the same instructions for the materialization of the same constants regardless the width of their type. Patch by: Vasileios Kalintiris Contributions by: Simon Dardis Reviewers: Daniel Sanders Differential Review: https://reviews.llvm.org/D21689 llvm-svn: 276628