aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/TargetInfo.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2023-04-29 15:04:52 -0700
committerCraig Topper <craig.topper@sifive.com>2023-04-29 15:04:55 -0700
commitee9cbe3548cded885c6409d6dd8a616b515a06d3 (patch)
tree2749d801c132f7960b800806f664aeafbc859aaf /clang/lib/CodeGen/TargetInfo.cpp
parenta4797869e73355209206a5175c11bedb14013211 (diff)
downloadllvm-ee9cbe3548cded885c6409d6dd8a616b515a06d3.zip
llvm-ee9cbe3548cded885c6409d6dd8a616b515a06d3.tar.gz
llvm-ee9cbe3548cded885c6409d6dd8a616b515a06d3.tar.bz2
[RISCV] Move RISCV::RVVBitsPerBlock from TargetParser to Support/RISCVISAInfo.h.
RISCVTargetParser.h has a dependency on a tablegen generated file. Using RISCVISAInfo.h instead avoids this dependency. We just need this constant somewhere visible to the frontend and backend and I'm trying to avoid adding a header just for it.
Diffstat (limited to 'clang/lib/CodeGen/TargetInfo.cpp')
-rw-r--r--clang/lib/CodeGen/TargetInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp
index ff4d516..7f02621 100644
--- a/clang/lib/CodeGen/TargetInfo.cpp
+++ b/clang/lib/CodeGen/TargetInfo.cpp
@@ -33,7 +33,7 @@
#include "llvm/IR/Type.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/raw_ostream.h"
-#include "llvm/TargetParser/RISCVTargetParser.h"
+#include "llvm/Support/RISCVISAInfo.h"
#include "llvm/TargetParser/Triple.h"
#include <algorithm>