| commit | ba8122cc257290e6b77435dc0c08b6b7135279ff | [log] [tgz] |
|---|---|---|
| author | Manman Ren <mren@apple.com> | Thu Aug 02 19:37:32 2012 +0000 |
| committer | Manman Ren <mren@apple.com> | Thu Aug 02 19:37:32 2012 +0000 |
| tree | 1af9d8d2b87190171933c94f8d5be864d648926d | |
| parent | 152a3735ce639a17b176e565744d2a088f259ad8 [diff] |
X86 Peephole: fold loads to the source register operand if possible. Add more comments and use early returns to reduce nesting in isLoadFoldable. Also disable folding for V_SET0 to avoid introducing a const pool entry and a const pool load. rdar://10554090 and rdar://11873276 llvm-svn: 161207