summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-03-18 20:04:34 +0000
committerHans Wennborg <hans@hanshq.net>2014-03-18 20:04:34 +0000
commitaec21ce43e7fa7e0f45eb3ebfd0761076f881ea3 (patch)
treeeb00f1d1a70e8e8a5098a9f415749b8dfa27acef /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
parent34b26458cbfe810e1cc8b6a7cfdc9cb8338e90cf (diff)
downloadbcm5719-llvm-aec21ce43e7fa7e0f45eb3ebfd0761076f881ea3.tar.gz
bcm5719-llvm-aec21ce43e7fa7e0f45eb3ebfd0761076f881ea3.zip
X86 memcpy lowering: use "rep movs" even when esi is used as base pointer
For functions where esi is used as base pointer, we would previously fall back from lowering memcpy with "rep movs" because that clobbers esi. With this patch, we just store esi in another physical register, and restore it afterwards. This adds a little bit of register preassure, but the more efficient memcpy should be worth it. Differential Revision: http://llvm-reviews.chandlerc.com/D2968 llvm-svn: 204174
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud