<div dir="ltr"><div>I just recently joined, and this will be my first patch. It finds places in ARM machine code where 2 dmbs follow one another, and eliminates one of them. In some cases this can result in considerable (30%) speedups, as I will argue in my talk at EuroLLVM next week.</div>

<div><br></div><div>I discussed the patch off-list with several people, but am more than happy to get some more feedback.</div><div><br></div><div>Thanks,</div><div><br></div><div><br></div><div>Reinoud</div><br><font face="courier new, monospace">M       lib/Target/ARM/ARM.h<br>

A       lib/Target/ARM/ARMOptimizeBarriersPass.cpp<br>M       lib/Target/ARM/ARMTargetMachine.cpp<br>M       lib/Target/ARM/CMakeLists.txt<br>A       test/CodeGen/ARM/optimize-dmbs-v7.ll</font><br></div>