Revert r288447 which introduced -mdirect. It turns out we don't need a
custom flag for this, as the information we need is in the target triple.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288604
91177308-0d34-0410-b5e6-
96231b3b80d8
def msimd128 : Flag<["-"], "msimd128">, Group<m_wasm_Features_Group>;
def mno_simd128 : Flag<["-"], "mno-simd128">, Group<m_wasm_Features_Group>;
-def mdirect : Flag<["-"], "mdirect">, Group<m_wasm_Features_Group>;
-def mno_direct : Flag<["-"], "mno-direct">, Group<m_wasm_Features_Group>;
def mamdgpu_debugger_abi : Joined<["-"], "mamdgpu-debugger-abi=">,
Flags<[HelpHidden]>,
SIMDLevel = std::min(SIMDLevel, SIMDEnum(SIMD128 - 1));
continue;
}
- if (Feature == "+direct")
- continue;
- if (Feature == "-direct")
- continue;
Diags.Report(diag::err_opt_not_valid_with_opt) << Feature
<< "-target-feature";