[PATCH] Default to armv7 cpu for NaCl when march=arm

Derek Schuff dschuff at google.com
Tue Mar 24 15:02:29 PDT 2015


OK, let me back up. 
What I really want is that when I have a driver named "arm-nacl-clang" which results in an invocation like:
clang -target arm-nacl

then the underlying clang -cc1 invocation should be like
clang -cc1 -triple armv7--nacl-gnueabihf

(see line 70 of http://reviews.llvm.org/D8590#1a1873d0)

I don't mind doing general hack removal...
So it looks like clang's getARMCPUForMarch is the only user of this getARMCPUForArch. Should I just move this logic there first?


http://reviews.llvm.org/D8589

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list