aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringMap.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-02 06:34:44 +0000
committerChris Lattner <sabre@nondot.org>2007-04-02 06:34:44 +0000
commit28e0e4e11eadb4597fd11a7bc484c512e03129cb (patch)
tree8b3c0e85707b2359e4291a80b53af72682211218 /llvm/lib/Support/StringMap.cpp
parentbe96c646dc9c617c57a0e634954e588b696514f3 (diff)
downloadllvm-28e0e4e11eadb4597fd11a7bc484c512e03129cb.zip
llvm-28e0e4e11eadb4597fd11a7bc484c512e03129cb.tar.gz
llvm-28e0e4e11eadb4597fd11a7bc484c512e03129cb.tar.bz2
Pass the type of the store access, not the type of the store, into the
target hook. This allows us to codegen a loop as: LBB1_1: @cond_next mov r2, #0 str r2, [r0, +r3, lsl #2] add r3, r3, #1 cmn r3, #1 bne LBB1_1 @cond_next instead of: LBB1_1: @cond_next mov r2, #0 str r2, [r0], #+4 add r3, r3, #1 cmn r3, #1 bne LBB1_1 @cond_next This looks the same, but has one fewer induction variable (and therefore, one fewer register) live in the loop. llvm-svn: 35592
Diffstat (limited to 'llvm/lib/Support/StringMap.cpp')
0 files changed, 0 insertions, 0 deletions