This is an archive of the discontinued LLVM Phabricator instance.

Add a way to enable/disable the ARM load/store optimization pass
ClosedPublic

Authored by rs on Mar 26 2015, 4:41 AM.

Details

Reviewers
rengolin
Summary

This patch adds an option to enable/disable the ARM load/store optimization pass which I find useful when debugging with llc.

Diff Detail

Event Timeline

rs updated this revision to Diff 22708.Mar 26 2015, 4:41 AM
rs retitled this revision from to Add a way to enable/disable the ARM load/store optimization pass.
rs updated this object.
rs edited the test plan for this revision. (Show Details)
rs added a subscriber: Unknown Object (MLST).
rengolin accepted this revision.Mar 26 2015, 4:50 AM
rengolin added a reviewer: rengolin.

Looks good to me. Just please, avoid using unnecessary curly brackets and add the comment to the boolean value before commit. Thanks!

lib/Target/ARM/ARMTargetMachine.cpp
359

When this went in, the "true" value made a lot of sense, now, I'm failing to remember what was that all about. Can you add a comment like: (/* prealloc /* true)?

This revision is now accepted and ready to land.Mar 26 2015, 4:50 AM
rs updated this revision to Diff 22713.Mar 26 2015, 6:10 AM
rs edited edge metadata.

Hi Renato,

Thanks for the code review.

I've attached another patch with your suggested changes. I don't have commit access yet, so could you commit this one?
I'll go through the process today to get commit rights.

Thanks,
Ranjeet

LGTM as well.

rengolin closed this revision.Mar 26 2015, 11:41 AM

Committed in r233303.