[PATCH] D44189: [RISCV] Verify the input value of -march=

Ana Pazos via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 27 10:26:28 PDT 2018


apazos added inline comments.


================
Comment at: lib/Driver/ToolChains/Arch/RISCV.cpp:51
+      break;
+    case 'g':
+      // g = imafd
----------------
One more question - how about non-standard extensions (vendor/custom) prefixed with X?
Shouldn't we add the logic to process 'Xext' occurrences in the march string as part of this patch?



Repository:
  rC Clang

https://reviews.llvm.org/D44189





More information about the cfe-commits mailing list