diff options
author | Craig Topper <craig.topper@gmail.com> | 2017-02-08 05:45:46 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2017-02-08 05:45:46 +0000 |
commit | 3fd463a15a9b0dc1075029e041284f8dc460395c (patch) | |
tree | 95575a04e9b6de43235838d1be3c26a0acf7e69f /llvm/lib/Target/X86/X86Subtarget.h | |
parent | 6c05192018e18bfe6e3cc54f0a74b5710b5a5f61 (diff) | |
download | bcm5719-llvm-3fd463a15a9b0dc1075029e041284f8dc460395c.tar.gz bcm5719-llvm-3fd463a15a9b0dc1075029e041284f8dc460395c.zip |
[X86] Add test for clflushopt intrinsic and only enable it to be selected if the feature flag is set.
llvm-svn: 294407
Diffstat (limited to 'llvm/lib/Target/X86/X86Subtarget.h')
-rw-r--r-- | llvm/lib/Target/X86/X86Subtarget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86Subtarget.h b/llvm/lib/Target/X86/X86Subtarget.h index f9ae5a4fc2d..633c7adda2f 100644 --- a/llvm/lib/Target/X86/X86Subtarget.h +++ b/llvm/lib/Target/X86/X86Subtarget.h @@ -487,6 +487,7 @@ public: bool hasVLX() const { return HasVLX; } bool hasPKU() const { return HasPKU; } bool hasMPX() const { return HasMPX; } + bool hasCLFLUSHOPT() const { return HasCLFLUSHOPT; } bool isXRaySupported() const override { return is64Bit(); } |