On Darwin, using '-arch x86_64h' would always override the option passed through '-march'.
This patch allows users to use '-march' with x86_64h, while keeping the default to 'core-avx2'
Differential D55775
[Driver] Don't override '-march' when using '-arch x86_64h' thegameg on Dec 17 2018, 10:04 AM. Authored by
Details On Darwin, using '-arch x86_64h' would always override the option passed through '-march'. This patch allows users to use '-march' with x86_64h, while keeping the default to 'core-avx2'
Diff Detail Event TimelineComment Actions + Akira, Quentin for their driver / x86_64h experience for a quick double check. Fwiw, LGTM. Comment Actions Makes sense. I'll put up a patch soon. Edit: Patch here: https://reviews.llvm.org/D56394 |