summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Host.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-02-09 06:51:02 +0000
committerCraig Topper <craig.topper@gmail.com>2017-02-09 06:51:02 +0000
commit3cac763532e4f96791b7b70aa0ab795a1608e006 (patch)
tree60ab416ac1df7fd18e3db0747c66230a0b5a39be /llvm/lib/Support/Host.cpp
parent86576bd9217d4176eaf47cf3bd21c4dc620b30e9 (diff)
downloadbcm5719-llvm-3cac763532e4f96791b7b70aa0ab795a1608e006.tar.gz
bcm5719-llvm-3cac763532e4f96791b7b70aa0ab795a1608e006.zip
[X86] Remove the HLE feature flag.
We only implemented it for one of the 3 HLE instructions and that instruction is also under the RTM flag. Clang only implements the RTM flag from its command line. llvm-svn: 294562
Diffstat (limited to 'llvm/lib/Support/Host.cpp')
-rw-r--r--llvm/lib/Support/Host.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp
index 26c54ab9f6c..a87399380a7 100644
--- a/llvm/lib/Support/Host.cpp
+++ b/llvm/lib/Support/Host.cpp
@@ -1366,7 +1366,6 @@ bool sys::getHostCPUFeatures(StringMap<bool> &Features) {
Features["fsgsbase"] = HasLeaf7 && ((EBX >> 0) & 1);
Features["sgx"] = HasLeaf7 && ((EBX >> 2) & 1);
Features["bmi"] = HasLeaf7 && ((EBX >> 3) & 1);
- Features["hle"] = HasLeaf7 && ((EBX >> 4) & 1);
Features["bmi2"] = HasLeaf7 && ((EBX >> 8) & 1);
Features["rtm"] = HasLeaf7 && ((EBX >> 11) & 1);
Features["rdseed"] = HasLeaf7 && ((EBX >> 18) & 1);
OpenPOWER on IntegriCloud