internal/rosa/llvm: 21.1.8 to 22.1.0
All checks were successful
Test / Create distribution (push) Successful in 1m35s
Test / Sandbox (push) Successful in 4m16s
Test / Hakurei (push) Successful in 6m17s
Test / ShareFS (push) Successful in 6m28s
Test / Hakurei (race detector) (push) Successful in 7m52s
Test / Sandbox (race detector) (push) Successful in 2m17s
Test / Flake checks (push) Successful in 1m27s

New patch should not be affected next time.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-03-05 22:42:27 +09:00
parent fbd97b658f
commit fcdf9ecee4

View File

@@ -73,11 +73,11 @@ func llvmFlagName(flag int) string {
} }
} }
const llvmVersion = "21.1.8" const llvmVersion = "22.1.0"
// newLLVMVariant returns a [pkg.Artifact] containing a LLVM variant. // newLLVMVariant returns a [pkg.Artifact] containing a LLVM variant.
func (t Toolchain) newLLVMVariant(variant string, attr *llvmAttr) pkg.Artifact { func (t Toolchain) newLLVMVariant(variant string, attr *llvmAttr) pkg.Artifact {
const checksum = "8SUpqDkcgwOPsqHVtmf9kXfFeVmjVxl4LMn-qSE1AI_Xoeju-9HaoPNGtidyxyka" const checksum = "-_Tu5Lt8xkWoxm2VDVV7crh0WqZQbbblN3fYamMdPTDSy_54FAkD2ii7afSymPVV"
if attr == nil { if attr == nil {
panic("LLVM attr must be non-nil") panic("LLVM attr must be non-nil")
@@ -314,10 +314,10 @@ ninja check-all
patches: [][2]string{ patches: [][2]string{
{"add-rosa-vendor", `diff --git a/llvm/include/llvm/TargetParser/Triple.h b/llvm/include/llvm/TargetParser/Triple.h {"add-rosa-vendor", `diff --git a/llvm/include/llvm/TargetParser/Triple.h b/llvm/include/llvm/TargetParser/Triple.h
index 657f4230379e..12c305756184 100644 index 9c83abeeb3b1..5acfe5836a23 100644
--- a/llvm/include/llvm/TargetParser/Triple.h --- a/llvm/include/llvm/TargetParser/Triple.h
+++ b/llvm/include/llvm/TargetParser/Triple.h +++ b/llvm/include/llvm/TargetParser/Triple.h
@@ -185,6 +185,7 @@ public: @@ -190,6 +190,7 @@ public:
Apple, Apple,
PC, PC,
@@ -326,25 +326,25 @@ index 657f4230379e..12c305756184 100644
Freescale, Freescale,
IBM, IBM,
diff --git a/llvm/lib/TargetParser/Triple.cpp b/llvm/lib/TargetParser/Triple.cpp diff --git a/llvm/lib/TargetParser/Triple.cpp b/llvm/lib/TargetParser/Triple.cpp
index 0584c941d2e6..e4d6ef963cc7 100644 index a4f9dd42c0fe..cb5a12387034 100644
--- a/llvm/lib/TargetParser/Triple.cpp --- a/llvm/lib/TargetParser/Triple.cpp
+++ b/llvm/lib/TargetParser/Triple.cpp +++ b/llvm/lib/TargetParser/Triple.cpp
@@ -269,6 +269,7 @@ StringRef Triple::getVendorTypeName(VendorType Kind) { @@ -279,6 +279,7 @@ StringRef Triple::getVendorTypeName(VendorType Kind) {
case NVIDIA: return "nvidia"; case NVIDIA: return "nvidia";
case OpenEmbedded: return "oe"; case OpenEmbedded: return "oe";
case PC: return "pc"; case PC: return "pc";
+ case Rosa: return "rosa"; + case Rosa: return "rosa";
case SCEI: return "scei"; case SCEI: return "scei";
case SUSE: return "suse"; case SUSE: return "suse";
} case Meta:
@@ -669,6 +670,7 @@ static Triple::VendorType parseVendor(StringRef VendorName) { @@ -689,6 +690,7 @@ static Triple::VendorType parseVendor(StringRef VendorName) {
.Case("suse", Triple::SUSE) return StringSwitch<Triple::VendorType>(VendorName)
.Case("oe", Triple::OpenEmbedded) .Case("apple", Triple::Apple)
.Case("intel", Triple::Intel) .Case("pc", Triple::PC)
+ .Case("rosa", Triple::Rosa) + .Case("rosa", Triple::Rosa)
.Default(Triple::UnknownVendor); .Case("scei", Triple::SCEI)
} .Case("sie", Triple::SCEI)
.Case("fsl", Triple::Freescale)
`}, `},
{"xfail-broken-tests", `diff --git a/clang/test/Modules/timestamps.c b/clang/test/Modules/timestamps.c {"xfail-broken-tests", `diff --git a/clang/test/Modules/timestamps.c b/clang/test/Modules/timestamps.c