forked from OSchip/llvm-project
[WebAssembly] Revert r288447.
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. llvm-svn: 288604
This commit is contained in:
parent
92fede361f
commit
c819d0169d
|
@ -1613,8 +1613,6 @@ def ffixed_x18 : Flag<["-"], "ffixed-x18">, Group<m_aarch64_Features_Group>,
|
|||
|
||||
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]>,
|
||||
|
|
|
@ -8019,10 +8019,6 @@ private:
|
|||
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";
|
||||
|
|
Loading…
Reference in New Issue