diff options
author | Jonathan Roelofs <jonathan@codesourcery.com> | 2014-08-20 23:38:50 +0000 |
---|---|---|
committer | Jonathan Roelofs <jonathan@codesourcery.com> | 2014-08-20 23:38:50 +0000 |
commit | 44937d98a30c5ad8b6fdcdfece07228b159fbf24 (patch) | |
tree | 9cfb09eadc8d22e548f35bb74445e887c1a2488f /llvm/lib/Support/StringRef.cpp | |
parent | a56749064a34b8416e7ddbf01fb930488d7f22d6 (diff) | |
download | llvm-44937d98a30c5ad8b6fdcdfece07228b159fbf24.zip llvm-44937d98a30c5ad8b6fdcdfece07228b159fbf24.tar.gz llvm-44937d98a30c5ad8b6fdcdfece07228b159fbf24.tar.bz2 |
Lower thumbv4t & thumbv5 lo->lo copies through a push-pop sequence
On pre-v6 hardware, 'MOV lo, lo' gives undefined results, so such copies need to
be avoided. This patch trades simplicity for implementation time at the expense
of performance... As they say: correctness first, then performance.
See http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-August/075998.html for a few
ideas on how to make this better.
llvm-svn: 216138
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions