[flang-commits] [PATCH] D133554: [flang] Add OpenBSD support to Optimizer/CodeGen/Target.cpp
Brad Smith via Phabricator via flang-commits
flang-commits at lists.llvm.org
Thu Sep 15 21:44:08 PDT 2022
brad updated this revision to Diff 460629.
brad edited the summary of this revision.
Herald added subscribers: arichardson, emaste.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133554/new/
https://reviews.llvm.org/D133554
Files:
flang/lib/Optimizer/CodeGen/Target.cpp
Index: flang/lib/Optimizer/CodeGen/Target.cpp
===================================================================
--- flang/lib/Optimizer/CodeGen/Target.cpp
+++ flang/lib/Optimizer/CodeGen/Target.cpp
@@ -268,6 +268,10 @@
case llvm::Triple::OSType::Linux:
case llvm::Triple::OSType::Darwin:
case llvm::Triple::OSType::MacOSX:
+ case llvm::Triple::OSType::DragonFly:
+ case llvm::Triple::OSType::FreeBSD:
+ case llvm::Triple::OSType::NetBSD:
+ case llvm::Triple::OSType::OpenBSD:
case llvm::Triple::OSType::Solaris:
case llvm::Triple::OSType::Win32:
return std::make_unique<TargetI386>(ctx, std::move(trp),
@@ -281,6 +285,10 @@
case llvm::Triple::OSType::Linux:
case llvm::Triple::OSType::Darwin:
case llvm::Triple::OSType::MacOSX:
+ case llvm::Triple::OSType::DragonFly:
+ case llvm::Triple::OSType::FreeBSD:
+ case llvm::Triple::OSType::NetBSD:
+ case llvm::Triple::OSType::OpenBSD:
case llvm::Triple::OSType::Solaris:
case llvm::Triple::OSType::Win32:
return std::make_unique<TargetX86_64>(ctx, std::move(trp),
@@ -294,6 +302,9 @@
case llvm::Triple::OSType::Linux:
case llvm::Triple::OSType::Darwin:
case llvm::Triple::OSType::MacOSX:
+ case llvm::Triple::OSType::FreeBSD:
+ case llvm::Triple::OSType::NetBSD:
+ case llvm::Triple::OSType::OpenBSD:
case llvm::Triple::OSType::Win32:
return std::make_unique<TargetAArch64>(ctx, std::move(trp),
std::move(kindMap));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133554.460629.patch
Type: text/x-patch
Size: 1534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220916/84cec890/attachment.bin>
More information about the flang-commits
mailing list