rengolin added a comment.

In http://reviews.llvm.org/D20088#425589, @rengolin wrote:

> In this case, it may be simpler to just rely on the Triple object that 
> already exists in the driver, or just the fact that this is in 
> getAArch64ArchFeaturesFromMarch() and pass an extra flag to parseArch() 
> forcing it to only recognise 32-bit or 64-bit arches as valid.


Or, better still, when this is class-based and has inheritance, the 
AArch64TargetParser will only be used for 64-bit targets, so it'll know already 
what to refuse (ie. anything before v8).


Repository:
  rL LLVM

http://reviews.llvm.org/D20088



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to