Changeset View
Changeset View
Standalone View
Standalone View
clang/lib/Driver/ToolChains/Arch/AArch64.cpp
Show First 20 Lines • Show All 562 Lines • ▼ Show 20 Lines | fp16_fml_fallthrough: | ||||
if (Args.hasArg(options::OPT_fcall_saved_x15)) | if (Args.hasArg(options::OPT_fcall_saved_x15)) | ||||
Features.push_back("+call-saved-x15"); | Features.push_back("+call-saved-x15"); | ||||
if (Args.hasArg(options::OPT_fcall_saved_x18)) | if (Args.hasArg(options::OPT_fcall_saved_x18)) | ||||
Features.push_back("+call-saved-x18"); | Features.push_back("+call-saved-x18"); | ||||
if (Args.hasArg(options::OPT_mno_neg_immediates)) | if (Args.hasArg(options::OPT_mno_neg_immediates)) | ||||
Features.push_back("+no-neg-immediates"); | Features.push_back("+no-neg-immediates"); | ||||
if (Arg *A = Args.getLastArg(options::OPT_mfix_cortex_a53_835769, | |||||
options::OPT_mno_fix_cortex_a53_835769)) { | |||||
if (A->getOption().matches(options::OPT_mfix_cortex_a53_835769)) | |||||
Features.push_back("+fix-cortex-a53-835769"); | |||||
else | |||||
Features.push_back("-fix-cortex-a53-835769"); | |||||
} else if (Triple.isAndroid()) { | |||||
// Enabled A53 errata (835769) workaround by default on android | |||||
Features.push_back("+fix-cortex-a53-835769"); | |||||
} | |||||
} | } |