[LLVMdev] Load/store grouping and AntiDepBreaker
Francois Pichet
pichet2000 at gmail.com
Fri May 30 08:03:05 PDT 2014
Hi,
On my target, grouping load/store together almost always gives better
performance even if it increases register pressure.
Basically I want code like this:
load r1, addr1
instr r1, x, y
store addr2 r1
load r1, addr3
instr r1, x, y
store addr4 r1
to be rewritten as:
load r1, addr1
load r2, addr3
instr r1, x, y
instr r2, x, y
store addr2, r1
store addr4, r2
I enabled the AggressiveAntiDepBreaker pass and it actually works for a lot
of case but not always.
What would be the best way to guarantee that load/store are grouped and
executed together?
Thanks,
Francois Pichet, Octasic.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140530/43fd071d/attachment.html>
More information about the llvm-dev
mailing list