Fix for PR14824: Optimization arm_ldst_opt inserts newly generated instruction vldmia at incorrect position

Stepan Dyatkovskiy stpworld at narod.ru
Mon Mar 11 09:31:21 PDT 2013


Hello!
Please consider patch in attachment as fix for PR14824: Optimization 
arm_ldst_opt inserts newly generated instruction vldmia at incorrect 
position.
Patch introduces memory operands tracking in 
ARMLoadStoreOpt::LoadStoreMultipleOpti. For each register it keeps the 
order of load operations as it was before optimization pass.
It is kind of deep improvement of fix proposed by Hao: 
http://llvm.org/bugs/show_bug.cgi?id=14824#c4
But it also tracks conflicts between different register classes (e.g. D2 
and S5).

-Stepan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr14824-2013-03-11.patch
Type: text/x-diff
Size: 4488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130311/2ca538c1/attachment.patch>


More information about the llvm-commits mailing list