summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/2009-04-21-NoReloadImpDef.ll
Commit message (Collapse)AuthorAgeFilesLines
* [x86] Enable the new vector shuffle lowering by default.Chandler Carruth2014-10-041-30/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the entire regression test suite for the new shuffles. Remove most of the old testing which was devoted to the old shuffle lowering path and is no longer relevant really. Also remove a few other random tests that only really exercised shuffles and only incidently or without any interesting aspects to them. Benchmarking that I have done shows a few small regressions with this on LNT, zero measurable regressions on real, large applications, and for several benchmarks where the loop vectorizer fires in the hot path it shows 5% to 40% improvements for SSE2 and SSE3 code running on Sandy Bridge machines. Running on AMD machines shows even more dramatic improvements. When using newer ISA vector extensions the gains are much more modest, but the code is still better on the whole. There are a few regressions being tracked (PR21137, PR21138, PR21139) but by and large this is expected to be a win for x86 generated code performance. It is also more correct than the code it replaces. I have fuzz tested this extensively with ISA extensions up through AVX2 and found no crashes or miscompiles (yet...). The old lowering had a few miscompiles and crashers after a somewhat smaller amount of fuzz testing. There is one significant area where the new code path lags behind and that is in AVX-512 support. However, there was *extremely little* support for that already and so this isn't a significant step backwards and the new framework will probably make it easier to implement lowering that uses the full power of AVX-512's table-based shuffle+blend (IMO). Many thanks to Quentin, Andrea, Robert, and others for benchmarking assistance. Thanks to Adam and others for help with AVX-512. Thanks to Hal, Eric, and *many* others for answering my incessant questions about how the backend actually works. =] I will leave the old code path in the tree until the 3 PRs above are at least resolved to folks' satisfaction. Then I will rip it (and 1000s of lines of code) out. =] I don't expect this flag to stay around for very long. It may not survive next week. llvm-svn: 219046
* Replace more uses of sse41 with sse4.1.Rafael Espindola2013-08-231-1/+1
| | | | | | | llc using the host cpu features and *waning* on unknown features is probably not a good thing :-( llvm-svn: 189144
* Fix remaining lit tests which were failing when run on an AtomPreston Gurd2012-07-191-1/+1
| | | | | | | | processor. Patches by Tyler Nowicki, Andy Zhang, and Preston Gurd! llvm-svn: 160520
* Linear scan is going away.Jakob Stoklund Olesen2011-11-121-1/+1
| | | | llvm-svn: 144472
* Use a bigger hammer to fix PR11314 by disabling the "forcing two-addressEvan Cheng2011-11-101-1/+0
| | | | | | | | | | | | | | | | instruction lower optimization" in the pre-RA scheduler. The optimization, rather the hack, was done before MI use-list was available. Now we should be able to implement it in a better way, perhaps in the two-address pass until a MI scheduler is available. Now that the scheduler has to backtrack to handle call sequences. Adding artificial scheduling constraints is just not safe. Furthermore, the hack is not taking all the other scheduling decisions into consideration so it's just as likely to pessimize code. So I view disabling this optimization goodness regardless of PR11314. llvm-svn: 144267
* Fix register-dependent X86 tests.Jakob Stoklund Olesen2011-04-051-1/+1
| | | | llvm-svn: 128867
* Enable i16 to i32 promotion by default.Evan Cheng2010-04-281-1/+1
| | | | llvm-svn: 102493
* make these less sensitive to asm verbose changes by disabling it for them.Chris Lattner2010-02-031-1/+1
| | | | llvm-svn: 95175
* Turn on post-alloc scheduling for x86.Evan Cheng2009-10-181-1/+1
| | | | llvm-svn: 84431
* Eliminate uses of %prcontext.Daniel Dunbar2009-09-051-2/+8
| | | | | | | - I'd appreciate it if someone else eyeballs my changes to make sure I captured the intent of the test. llvm-svn: 81083
* It has finally happened. Spiller is now using live interval info.Evan Cheng2009-04-211-0/+25
This fixes a very subtle bug. vr defined by an implicit_def is allowed overlap with any register since it doesn't actually modify anything. However, if it's used as a two-address use, its live range can be extended and it can be spilled. The spiller must take care not to emit a reload for the vn number that's defined by the implicit_def. This is both a correctness and performance issue. llvm-svn: 69743
OpenPOWER on IntegriCloud