| commit | d73bfba7ebc915214c93e93652eac8685c005262 | [log] [tgz] |
|---|---|---|
| author | Hal Finkel <hfinkel@anl.gov> | Sat Jan 03 14:58:25 2015 +0000 |
| committer | Hal Finkel <hfinkel@anl.gov> | Sat Jan 03 14:58:25 2015 +0000 |
| tree | 554ed70a2012a07c0ea869b1177a5faecec4167e | |
| parent | 589ceee7f449db13c61995625be7bd2374d23595 [diff] |
[PowerPC] Use 16-byte alignment for modern cores for functions/loops
Most modern PowerPC cores prefer that functions and loops start on
16-byte-aligned boundaries (*), so instruct block placement, etc. to make this
happen. The branch selector has also been adjusted so account for the extra
nops that might now be inserted before loop headers.
(*) Some cores actually prefer other alignments for small loops, but that will
be addressed in a follow-up commit.
llvm-svn: 225115