diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-03-04 02:48:56 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-03-04 02:48:56 +0000 |
commit | 62bec2ca4c227a61fd9a38b23da81035e83f5733 (patch) | |
tree | 7d8f1ad2ae02d5af7bd0233ec7c06f8102528b9b /lib/AsmParser/llvmAsmParser.cpp.cvs | |
parent | 973e0ef839ed3020eff02bba1d5112291ba0e1f8 (diff) |
MEMSET / MEMCPY lowering bugs: we can't issue a single WORD / DWORD version of
rep/stos and rep/mov if the count is not a constant. We could do
rep/stosl; and $count, 3; rep/stosb
For now, I will lower them to memset / memcpy calls. We will revisit this after
a little bit experiment.
Also need to take care of the trailing bytes even if the count is a constant.
Since the max. number of trailing bytes are 3, we will simply issue loads /
stores.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26517 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/llvmAsmParser.cpp.cvs')
0 files changed, 0 insertions, 0 deletions