aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
diff options
context:
space:
mode:
authorSam Elliott <quic_aelliott@quicinc.com>2025-03-11 08:54:22 -0700
committerGitHub <noreply@github.com>2025-03-11 08:54:22 -0700
commitae985267d0a107119038e1a1e62b3aed6523f28c (patch)
tree10978ccb3c8d2625b67a97a8ae8406d2df85dcba /llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
parentf90aa418978748c0613036b0285bb80af40570b7 (diff)
downloadllvm-ae985267d0a107119038e1a1e62b3aed6523f28c.zip
llvm-ae985267d0a107119038e1a1e62b3aed6523f28c.tar.gz
llvm-ae985267d0a107119038e1a1e62b3aed6523f28c.tar.bz2
[RISCV] Update to Xqciint v0.4 (#130219)
The Xqci 0.7.0 spec just came out, with some updates to Xqciint, bringing it to v0.4. The main update of any relevance is that `qc.c.mienter` and `qc.c.mienter.nest` now update both the stack pointer and the frame pointer (before, they only updated the stack pointer). They both remain compatible with the frame pointer convention. This change bumps the Xqciint version, and ensures that we don't emit the unneeded frame pointer adjustment instruction after `qc.c.mienter(.nest)`.
Diffstat (limited to 'llvm/unittests/TargetParser/RISCVISAInfoTest.cpp')
-rw-r--r--llvm/unittests/TargetParser/RISCVISAInfoTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/TargetParser/RISCVISAInfoTest.cpp b/llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
index 00dc160..e24b2d4 100644
--- a/llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
+++ b/llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
@@ -656,7 +656,7 @@ TEST(ParseArchString, RejectsConflictingExtensions) {
for (StringRef Input :
{"rv64i_xqcisls0p2", "rv64i_xqcia0p4", "rv64i_xqciac0p3",
"rv64i_xqcicsr0p2", "rv64i_xqcilsm0p2", "rv64i_xqcicm0p2",
- "rv64i_xqcics0p2", "rv64i_xqcicli0p2", "rv64i_xqciint0p2",
+ "rv64i_xqcics0p2", "rv64i_xqcicli0p2", "rv64i_xqciint0p4",
"rv64i_xqcilo0p2", "rv64i_xqcilia0p2", "rv64i_xqcibm0p4"}) {
EXPECT_THAT(
toString(RISCVISAInfo::parseArchString(Input, true).takeError()),
@@ -1132,7 +1132,7 @@ Experimental extensions
xqcicm 0.2
xqcics 0.2
xqcicsr 0.2
- xqciint 0.2
+ xqciint 0.4
xqcilia 0.2
xqcilo 0.2
xqcilsm 0.2