diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-03-05 22:42:27 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-03-05 22:42:27 +0900 |
| commit | fcdf9ecee4477fae3150806cdf2231c83d2720e8 (patch) | |
| tree | 5542dda23a1ef4e5690392e291fa9a021728fc97 | |
| parent | fbd97b658f1c4ee008475b0a64c31deb0bf1734c (diff) | |
internal/rosa/llvm: 21.1.8 to 22.1.0
New patch should not be affected next time.
Signed-off-by: Ophestra <cat@gensokyo.uk>
| -rw-r--r-- | internal/rosa/llvm.go | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/internal/rosa/llvm.go b/internal/rosa/llvm.go index ef687761..1468f06b 100644 --- a/internal/rosa/llvm.go +++ b/internal/rosa/llvm.go @@ -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. func (t Toolchain) newLLVMVariant(variant string, attr *llvmAttr) pkg.Artifact { - const checksum = "8SUpqDkcgwOPsqHVtmf9kXfFeVmjVxl4LMn-qSE1AI_Xoeju-9HaoPNGtidyxyka" + const checksum = "-_Tu5Lt8xkWoxm2VDVV7crh0WqZQbbblN3fYamMdPTDSy_54FAkD2ii7afSymPVV" if attr == nil { panic("LLVM attr must be non-nil") @@ -314,10 +314,10 @@ ninja check-all patches: [][2]string{ {"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 +++ b/llvm/include/llvm/TargetParser/Triple.h -@@ -185,6 +185,7 @@ public: +@@ -190,6 +190,7 @@ public: Apple, PC, @@ -326,25 +326,25 @@ index 657f4230379e..12c305756184 100644 Freescale, IBM, 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 +++ 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 OpenEmbedded: return "oe"; case PC: return "pc"; + case Rosa: return "rosa"; case SCEI: return "scei"; case SUSE: return "suse"; - } -@@ -669,6 +670,7 @@ static Triple::VendorType parseVendor(StringRef VendorName) { - .Case("suse", Triple::SUSE) - .Case("oe", Triple::OpenEmbedded) - .Case("intel", Triple::Intel) + case Meta: +@@ -689,6 +690,7 @@ static Triple::VendorType parseVendor(StringRef VendorName) { + return StringSwitch<Triple::VendorType>(VendorName) + .Case("apple", Triple::Apple) + .Case("pc", Triple::PC) + .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 |
