зеркало из https://github.com/microsoft/clang-1.git
Revert r155363, due to the underlying patches in LLVM causing regression
test suite failures. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155371 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
923b0c9337
Коммит
6603ff85d4
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -36,7 +36,6 @@ def i_Group : OptionGroup<"<i group>">, Group<CompileOnly_Group>;
|
|||
def clang_i_Group : OptionGroup<"<clang i group>">, Group<i_Group>;
|
||||
def m_Group : OptionGroup<"<m group>">, Group<CompileOnly_Group>;
|
||||
def m_x86_Features_Group : OptionGroup<"<m x86 features group>">, Group<m_Group>;
|
||||
def m_hexagon_Features_Group : OptionGroup<"<m hexagon features group>">, Group<m_Group>;
|
||||
def u_Group : OptionGroup<"<u group>">;
|
||||
|
||||
def pedantic_Group : OptionGroup<"<pedantic group>">,
|
||||
|
@ -952,7 +951,6 @@ def _warn_ : Joined<"--warn-">, Alias<W_Joined>;
|
|||
def _write_dependencies : Flag<"--write-dependencies">, Alias<MD>;
|
||||
def _write_user_dependencies : Flag<"--write-user-dependencies">, Alias<MMD>;
|
||||
def _ : Joined<"--">, Flags<[Unsupported]>;
|
||||
def mieee_rnd_near : Flag<"-mieee-rnd-near">, Group<m_hexagon_Features_Group>;
|
||||
|
||||
// Special internal option to handle -Xlinker --no-demangle.
|
||||
def Z_Xlinker__no_demangle : Flag<"-Z-Xlinker-no-demangle">,
|
||||
|
|
|
@ -3015,8 +3015,8 @@ public:
|
|||
HexagonTargetInfo(const std::string& triple) : TargetInfo(triple) {
|
||||
BigEndian = false;
|
||||
DescriptionString = ("e-p:32:32:32-"
|
||||
"i64:64:64-i32:32:32-i16:16:16-i1:32:32"
|
||||
"f64:64:64-f32:32:32-a0:0-n32");
|
||||
"i64:64:64-i32:32:32-"
|
||||
"i16:16:16-i1:32:32-a:0:0");
|
||||
|
||||
// {} in inline assembly are packet specifiers, not assembly variant
|
||||
// specifiers.
|
||||
|
@ -3057,7 +3057,6 @@ public:
|
|||
.Case("hexagonv2", "2")
|
||||
.Case("hexagonv3", "3")
|
||||
.Case("hexagonv4", "4")
|
||||
.Case("hexagonv5", "5")
|
||||
.Default(0);
|
||||
}
|
||||
|
||||
|
@ -3112,14 +3111,6 @@ void HexagonTargetInfo::getTargetDefines(const LangOptions &Opts,
|
|||
Builder.defineMacro("__QDSP6_ARCH__", "4");
|
||||
}
|
||||
}
|
||||
else if(CPU == "hexagonv5") {
|
||||
Builder.defineMacro("__HEXAGON_V5__");
|
||||
Builder.defineMacro("__HEXAGON_ARCH__", "5");
|
||||
if(Opts.HexagonQdsp6Compat) {
|
||||
Builder.defineMacro("__QDSP6_V5__");
|
||||
Builder.defineMacro("__QDSP6_ARCH__", "5");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const char * const HexagonTargetInfo::GCCRegNames[] = {
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -1100,12 +1100,6 @@ void Clang::AddHexagonTargetArgs(const ArgList &Args,
|
|||
A->claim();
|
||||
}
|
||||
|
||||
if (!Args.hasArg(options::OPT_fno_short_enums))
|
||||
CmdArgs.push_back("-fshort-enums");
|
||||
if (Args.getLastArg(options::OPT_mieee_rnd_near)) {
|
||||
CmdArgs.push_back ("-mllvm");
|
||||
CmdArgs.push_back ("-enable-hexagon-ieee-rnd-near");
|
||||
}
|
||||
CmdArgs.push_back ("-mllvm");
|
||||
CmdArgs.push_back ("-machine-sink-split=0");
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче