From 3a4b943b31731d89f724129ffb95a33320eef174 Mon Sep 17 00:00:00 2001 From: Alina Sbirlea Date: Fri, 10 Jan 2025 15:21:39 -0800 Subject: [PATCH] Integrate LLVM at llvm/llvm-project@35e76b6a4fc7 Updates LLVM usage to match [35e76b6a4fc7](https://github.com/llvm/llvm-project/commit/35e76b6a4fc7) PiperOrigin-RevId: 714248644 --- third_party/llvm/generated.patch | 11 +++++++++++ third_party/llvm/workspace.bzl | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/third_party/llvm/generated.patch b/third_party/llvm/generated.patch index 509398da9..c14fe64d0 100644 --- a/third_party/llvm/generated.patch +++ b/third_party/llvm/generated.patch @@ -1 +1,12 @@ Auto generated patch. Do not edit or delete it, even if empty. +diff -ruN --strip-trailing-cr a/llvm/test/CodeGen/Hexagon/isel/isel-tfrrp.ll b/llvm/test/CodeGen/Hexagon/isel/isel-tfrrp.ll +--- a/llvm/test/CodeGen/Hexagon/isel/isel-tfrrp.ll ++++ b/llvm/test/CodeGen/Hexagon/isel/isel-tfrrp.ll +@@ -2,6 +2,7 @@ + ; The constant 0 is generated by a transfer immediate instruction. + + ; RUN: llc -march=hexagon -debug-only=isel 2>&1 < %s - | FileCheck %s ++; REQUIRES: asserts + + ; CHECK: [[R0:%[0-9]+]]:intregs = A2_tfrsi 0 + ; CHECK-NEXT: predregs = C2_tfrrp killed [[R0]]:intregs diff --git a/third_party/llvm/workspace.bzl b/third_party/llvm/workspace.bzl index 02401a7c7..c35f4e43a 100644 --- a/third_party/llvm/workspace.bzl +++ b/third_party/llvm/workspace.bzl @@ -4,8 +4,8 @@ load("//third_party:repo.bzl", "tf_http_archive") def repo(name): """Imports LLVM.""" - LLVM_COMMIT = "a531800344dc54e9c197a13b22e013f919f3f5e1" - LLVM_SHA256 = "74a873f8d4c677d192e9bfade095af3363c76b0fb23c5f6260121d74322744bc" + LLVM_COMMIT = "35e76b6a4fc74e64bd6c91e5b9b9eb6a03aa802e" + LLVM_SHA256 = "bf4e52c430ff8eb2b055a4abcbd70468d2e6ea7f277e472575e92903bd7d8981" tf_http_archive( name = name,