[llvm] [LLVM] Add environment triple for 'llvm' (PR #117218)
Nick Desaulniers via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 21 11:57:58 PST 2024
================
@@ -1341,6 +1341,12 @@ TEST(TripleTest, ParsedIDs) {
EXPECT_TRUE(T.isTime64ABI());
EXPECT_TRUE(T.isHardFloatABI());
+ T = Triple("x86_64-pc-linux-llvm");
+ EXPECT_EQ(Triple::x86_64, T.getArch());
+ EXPECT_EQ(Triple::PC, T.getVendor());
----------------
nickdesaulniers wrote:
It's a waste of an assert. The only part we even care about is the environment check.
https://github.com/llvm/llvm-project/pull/117218
More information about the llvm-commits
mailing list