[llvm] [MC] Add support for -mcpu=native. (PR #159414)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 17 11:38:53 PDT 2025


================
@@ -467,6 +467,10 @@ int main(int argc, char **argv) {
     FeaturesStr = Features.getString();
   }
 
+  // Replace -mcpu=native with Host CPU.
----------------
jurahul wrote:

Thanks. Makes sense.

https://github.com/llvm/llvm-project/pull/159414


More information about the llvm-commits mailing list