summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCSubtarget.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-10-16 20:38:58 +0000
committerEric Christopher <echristo@gmail.com>2013-10-16 20:38:58 +0000
commit985ce242a74adf6519609782acbdce2d5464fc22 (patch)
treedec4dff299924fce0696eb59f4e1bc34dcb999c7 /lib/Target/PowerPC/PPCSubtarget.h
parent75ee00021d5e753be09baa4121a090afc8d7c236 (diff)
downloadllvm-985ce242a74adf6519609782acbdce2d5464fc22.tar.gz
llvm-985ce242a74adf6519609782acbdce2d5464fc22.tar.bz2
llvm-985ce242a74adf6519609782acbdce2d5464fc22.tar.xz
Add support for the VSX target attribute. No functional change
as we don't actually use it to emit any code yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192837 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r--lib/Target/PowerPC/PPCSubtarget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCSubtarget.h b/lib/Target/PowerPC/PPCSubtarget.h
index a9fa98fa3e..c863a6ecc7 100644
--- a/lib/Target/PowerPC/PPCSubtarget.h
+++ b/lib/Target/PowerPC/PPCSubtarget.h
@@ -76,6 +76,7 @@ protected:
bool IsPPC64;
bool HasAltivec;
bool HasQPX;
+ bool HasVSX;
bool HasFCPSGN;
bool HasFSQRT;
bool HasFRE, HasFRES, HasFRSQRTE, HasFRSQRTES;