diff options
author | Archibald Elliott <archibald.elliott@arm.com> | 2023-02-10 09:59:46 +0000 |
---|---|---|
committer | Archibald Elliott <archibald.elliott@arm.com> | 2023-02-10 09:59:46 +0000 |
commit | d768bf994f508d7eaf9541a568be3d71096febf5 (patch) | |
tree | be41cbae09e0493dd3699f8d93a0bf98689452bd /flang/unittests | |
parent | 4ad8f7a189570dc2560d0efdd05e6a8153313808 (diff) | |
download | llvm-d768bf994f508d7eaf9541a568be3d71096febf5.tar.gz |
[NFC][TargetParser] Replace uses of llvm/Support/Host.h
The forwarding header is left in place because of its use in
`polly/lib/External/isl/interface/extract_interface.cc`, but I have
added a GCC warning about the fact it is deprecated, because it is used
in `isl` from where it is included by Polly.
Diffstat (limited to 'flang/unittests')
-rw-r--r-- | flang/unittests/Frontend/FrontendActionTest.cpp | 2 | ||||
-rw-r--r-- | flang/unittests/Optimizer/FIRContextTest.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/flang/unittests/Frontend/FrontendActionTest.cpp b/flang/unittests/Frontend/FrontendActionTest.cpp index 35964401cbca..2ef63e864b92 100644 --- a/flang/unittests/Frontend/FrontendActionTest.cpp +++ b/flang/unittests/Frontend/FrontendActionTest.cpp @@ -11,9 +11,9 @@ #include "flang/Frontend/FrontendOptions.h" #include "flang/FrontendTool/Utils.h" #include "llvm/Support/FileSystem.h" -#include "llvm/Support/Host.h" #include "llvm/Support/TargetSelect.h" #include "llvm/Support/raw_ostream.h" +#include "llvm/TargetParser/Host.h" #include "llvm/TargetParser/Triple.h" #include "gtest/gtest.h" diff --git a/flang/unittests/Optimizer/FIRContextTest.cpp b/flang/unittests/Optimizer/FIRContextTest.cpp index 7e1b97bbbd4f..a4027b982835 100644 --- a/flang/unittests/Optimizer/FIRContextTest.cpp +++ b/flang/unittests/Optimizer/FIRContextTest.cpp @@ -11,7 +11,7 @@ #include "mlir/IR/BuiltinAttributes.h" #include "mlir/IR/BuiltinOps.h" #include "flang/Optimizer/Support/KindMapping.h" -#include "llvm/Support/Host.h" +#include "llvm/TargetParser/Host.h" #include <string> using namespace fir; |