craig.topper added inline comments.

================
Comment at: clang/lib/Driver/ToolChains/Arch/X86.cpp:133
+        for (auto &F : HostFeatures) {
+          if (F.first().startswith("amx") && F.second && !Is64bitTarget)
+            D.Diag(diag::err_feature_unsupported_on_target)
----------------
This looks like it would trigger an error with `-march=native -m32` on a cpu 
with amx? Why is that a desirable behavior? The compiler user has done nothing 
wrong. What are they supposed to do to avoid the error?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131134

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

Reply via email to