[llvm-dev] Diff to add ARMv6L to Target parser

Artyom Skrobov via llvm-dev llvm-dev at lists.llvm.org
Mon Jan 4 09:07:18 PST 2016


>> Ah, I see: ARMv7L is now an alias for ARMv7A.
>
> Do you have a reference to where it’s defined as an alias?

Yes, see getArchSynonym in TargetParser.cpp


> Other than the unit test (should I be thinking about adding a unit test?) 

Yes, certainly: that's the only way to ensure that armv6l wouldn't be washed away by future refactorings.


>> Where is this "armv6l" coming from? Is it a legacy GNU thing? Or is it a newly-coined name?
>
> the armv6l is coming from linux.  
>
> wdillon at raspberrypi:~ $ uname -a
> Linux raspberrypi 4.1.13+ #826 PREEMPT Fri Nov 13 20:13:22 GMT 2015 armv6l GNU/Linux

OK, fair enough.


More information about the llvm-dev mailing list