[PATCH] D51806: [clang-cl] Enable -march

Hans Wennborg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 10 07:33:36 PDT 2018


hans added a comment.

In https://reviews.llvm.org/D51806#1228893, @aganea wrote:

> @hans Just an after thought: maybe we should prevent usage of `-march=` and `/arch:` at the same time. What do you think? I can add another patch for that purpose.


Hmm, yes, at least we should warn or do something smart. Currently it doesn't look like they'd interact well together in x86::getX86TargetCPU


Repository:
  rC Clang

https://reviews.llvm.org/D51806





More information about the cfe-commits mailing list