summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/Targets.cpp
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2016-12-03 23:03:52 +0000
committerDan Gohman <dan433584@gmail.com>2016-12-03 23:03:52 +0000
commitc819d0169df3025eee2823ab1fe956d79d07205b (patch)
tree3f4ee4f1387655128cc517761fbb4ced967b5925 /clang/lib/Basic/Targets.cpp
parent92fede361fa9881c518fadec89052a47567f4342 (diff)
downloadbcm5719-llvm-c819d0169df3025eee2823ab1fe956d79d07205b.tar.gz
bcm5719-llvm-c819d0169df3025eee2823ab1fe956d79d07205b.zip
[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
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
-rw-r--r--clang/lib/Basic/Targets.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp
index 8e026bf00ee..9a74cdf6f2b 100644
--- a/clang/lib/Basic/Targets.cpp
+++ b/clang/lib/Basic/Targets.cpp
@@ -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";
OpenPOWER on IntegriCloud