diff options
author | Elena Demikhovsky <elena.demikhovsky@intel.com> | 2012-11-29 12:44:59 +0000 |
---|---|---|
committer | Elena Demikhovsky <elena.demikhovsky@intel.com> | 2012-11-29 12:44:59 +0000 |
commit | 8564dc67b5840da1633e29bade33185f4a36bb2d (patch) | |
tree | 2c93a772ff9bc0036b6b39df390d5caf584c5a71 /lib/Target/X86/X86Subtarget.h | |
parent | f29865d9bb40df7dfb76377b8ada484fe08e87b2 (diff) | |
download | external_llvm-8564dc67b5840da1633e29bade33185f4a36bb2d.zip external_llvm-8564dc67b5840da1633e29bade33185f4a36bb2d.tar.gz external_llvm-8564dc67b5840da1633e29bade33185f4a36bb2d.tar.bz2 |
I changed hasAVX() to hasFp256() and hasAVX2() to hasInt256() in X86IselLowering.cpp.
The logic was not changed, only names.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168875 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86Subtarget.h')
-rw-r--r-- | lib/Target/X86/X86Subtarget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/X86/X86Subtarget.h b/lib/Target/X86/X86Subtarget.h index 8bf4cc7..9bac772 100644 --- a/lib/Target/X86/X86Subtarget.h +++ b/lib/Target/X86/X86Subtarget.h @@ -205,6 +205,8 @@ public: bool hasSSE42() const { return X86SSELevel >= SSE42; } bool hasAVX() const { return X86SSELevel >= AVX; } bool hasAVX2() const { return X86SSELevel >= AVX2; } + bool hasFp256() const { return hasAVX(); } + bool hasInt256() const { return hasAVX2(); } bool hasSSE4A() const { return HasSSE4A; } bool has3DNow() const { return X863DNowLevel >= ThreeDNow; } bool has3DNowA() const { return X863DNowLevel >= ThreeDNowA; } |