This is an archive of the discontinued LLVM Phabricator instance.

Allow case-insensitive values for -march for AArch64 target in line with GCC.
ClosedPublic

Authored by enefaim on Jun 18 2015, 6:12 AM.

Details

Summary

GCC allows case-insensitive values for -mcpu, -march and -mtune options.
This patch implements the same behaviour for the -march option for the AArch64 target.

Diff Detail

Repository
rL LLVM

Event Timeline

enefaim updated this revision to Diff 27929.Jun 18 2015, 6:12 AM
enefaim retitled this revision from to Allow case-insensitive values for -march for AArch64 target in line with GCC..
enefaim updated this object.
enefaim edited the test plan for this revision. (Show Details)
enefaim set the repository for this revision to rL LLVM.
enefaim added a subscriber: Unknown Object (MLST).

Again no test that the case insensitivity also applies to the feature extensions. Other than that, this seems the same as the previous patch about -mcpu and I see no reason not to commit it.

rengolin accepted this revision.Jun 18 2015, 7:07 AM
rengolin edited edge metadata.

LGTM, thanks!

This revision is now accepted and ready to land.Jun 18 2015, 7:07 AM

Hi Richard,

Again no test that the case insensitivity also applies to the feature extensions. Other than that, this seems the same as the previous patch about -mcpu and I see no reason not to commit it.

I added the feature tests for the final version of the patch.

Thanks,
Gabor

enefaim closed this revision.Jun 18 2015, 7:30 AM

r240019