diff options
author | Jason Liu <jasonliu.development@gmail.com> | 2019-03-14 21:54:30 +0000 |
---|---|---|
committer | Jason Liu <jasonliu.development@gmail.com> | 2019-03-14 21:54:30 +0000 |
commit | 7f7867b05ab763d17b4017cf51f089523d475654 (patch) | |
tree | b2fc50fb9400c36765f3a2381dd2d37d9b51dd3a /clang/lib/Basic/Targets.cpp | |
parent | 12ed01dcf9136b774f4bf189280599c0c865f0f7 (diff) | |
download | bcm5719-llvm-7f7867b05ab763d17b4017cf51f089523d475654.tar.gz bcm5719-llvm-7f7867b05ab763d17b4017cf51f089523d475654.zip |
Reland the rest of "Add AIX Target Info"
llvm-svn 356197 relanded previously failing test case max_align.c.
This commit will reland the rest of llvm-svn 356060 commit.
Differential Revision: https://reviews.llvm.org/D59048
llvm-svn: 356208
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
-rw-r--r-- | clang/lib/Basic/Targets.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index 43302c6cf78..e6fcf934504 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/lib/Basic/Targets.cpp @@ -332,6 +332,8 @@ TargetInfo *AllocateTarget(const llvm::Triple &Triple, return new OpenBSDTargetInfo<PPC32TargetInfo>(Triple, Opts); case llvm::Triple::RTEMS: return new RTEMSTargetInfo<PPC32TargetInfo>(Triple, Opts); + case llvm::Triple::AIX: + return new AIXPPC32TargetInfo(Triple, Opts); default: return new PPC32TargetInfo(Triple, Opts); } @@ -348,6 +350,8 @@ TargetInfo *AllocateTarget(const llvm::Triple &Triple, return new FreeBSDTargetInfo<PPC64TargetInfo>(Triple, Opts); case llvm::Triple::NetBSD: return new NetBSDTargetInfo<PPC64TargetInfo>(Triple, Opts); + case llvm::Triple::AIX: + return new AIXPPC64TargetInfo(Triple, Opts); default: return new PPC64TargetInfo(Triple, Opts); } |