rengolin added a comment.

Hi Akira,

I'm uncomfortable with this change, since it introduces a dependency between 
the two calls, and that's fragile. Also, the nullptr fiddling is not a good 
design overall.

If there is a dependency, I suggest you encode it directly into 
getAArch64TargetFeatures() and not involve getAArch64TargetCPU() at all.

Maybe getAArch64TargetCPU() should just return "generic" for null pointer?

cheers,
--renato


http://reviews.llvm.org/D14471



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

Reply via email to