| commit | 2a3ffb5d9735e8bd561d1bf4f38fcada52095c82 | [log] [tgz] |
|---|---|---|
| author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | Tue Aug 23 01:14:17 2011 +0000 |
| committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | Tue Aug 23 01:14:17 2011 +0000 |
| tree | ef334a95b2630b528216d1baed180eaafca70674 | |
| parent | 49996274fdbf283ca08ab8f8acb882bab14c9377 [diff] |
Introduce a pass to insert vzeroupper instructions to avoid AVX to SSE transition penalty. The pass is enabled through the "x86-use-vzeroupper" llc command line option. This is only the first step (very naive and conservative one) to sketch out the idea, but proper DFA is coming next to allow smarter decisions. Comments and ideas now and in further commits will be very appreciated. llvm-svn: 138317