compnerd added a comment.

Right, we make it a cmake define corresponding to the AEABI name.  In the 
future when clang knows to correctly emit the macro, we just rely on that.  
Figuring it out based on the target in my case means: `${CMAKE_C_COMPILER} -x c 
-E - -dM <<< "__ARM_WMMX"`.  Thats not too terrible to do, but since the 
support for WMMX is rare, I think skimping on that bit of preparation is 
acceptable too.


http://reviews.llvm.org/D21991



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

Reply via email to