craig.topper added inline comments.

================
Comment at: clang/lib/CodeGen/TargetInfo.cpp:2497
+                                 bool IsArgument) {
+  if (!CallerMap.lookup(Feature) && !CalleeMap.lookup(Feature))
+    return Diag.Report(CallLoc, diag::warn_avx_calling_convention)
----------------
Should we save the lookup results in bool so we only do 2 lookups instead of 4 
in the common case where there is no error/warning


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82562/new/

https://reviews.llvm.org/D82562



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

Reply via email to