projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dc72d4
)
[RISCV][test] Fix broken unit test after d25751779ba
author
Alex Bradbury
<asb@igalia.com>
Thu, 23 Mar 2023 11:17:40 +0000
(11:17 +0000)
committer
Alex Bradbury
<asb@igalia.com>
Thu, 23 Mar 2023 11:17:40 +0000
(11:17 +0000)
The patch had missed the RISCVISAInfoTest.cpp change.
llvm/unittests/Support/RISCVISAInfoTest.cpp
patch
|
blob
|
history
diff --git
a/llvm/unittests/Support/RISCVISAInfoTest.cpp
b/llvm/unittests/Support/RISCVISAInfoTest.cpp
index
2f623a9
..
0b749eb
100644
(file)
--- a/
llvm/unittests/Support/RISCVISAInfoTest.cpp
+++ b/
llvm/unittests/Support/RISCVISAInfoTest.cpp
@@
-141,7
+141,7
@@
TEST(ParseArchString, AcceptsSupportedBaseISAsAndSetsXLenAndFLen) {
RISCVISAInfo &InfoRV32E = **MaybeRV32E;
RISCVISAInfo::OrderedExtensionMap ExtsRV32E = InfoRV32E.getExtensions();
EXPECT_EQ(ExtsRV32E.size(), 1UL);
- EXPECT_TRUE(ExtsRV32E.at("e") == (RISCVExtensionInfo{
1, 9
}));
+ EXPECT_TRUE(ExtsRV32E.at("e") == (RISCVExtensionInfo{
2, 0
}));
EXPECT_EQ(InfoRV32E.getXLen(), 32U);
EXPECT_EQ(InfoRV32E.getFLen(), 0U);