Skip to content

Commit

Permalink
Integrate LLVM at llvm/llvm-project@b39a100ff4ec
Browse files Browse the repository at this point in the history
Updates LLVM usage to match
[b39a100ff4ec](llvm/llvm-project@b39a100ff4ec)

PiperOrigin-RevId: 675540140
  • Loading branch information
d0k authored and Google-ML-Automation committed Sep 17, 2024
1 parent ccdd3c1 commit d7a2375
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 94 deletions.
27 changes: 0 additions & 27 deletions third_party/llvm/generated.patch
Original file line number Diff line number Diff line change
@@ -1,28 +1 @@
Auto generated patch. Do not edit or delete it, even if empty.
diff -ruN --strip-trailing-cr a/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-errors.c b/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-errors.c
--- a/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-errors.c
+++ b/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-errors.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=i386-unknown-unknown -target-feature +avx10.2-512 -emit-llvm -Wall -Werror -verify
+// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=i386-unknown-unknown -target-feature +avx10.2-512 -Wall -Werror -verify

#include <immintrin.h>
#include <stddef.h>
diff -ruN --strip-trailing-cr a/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-x64-error.c b/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-x64-error.c
--- a/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-x64-error.c
+++ b/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-x64-error.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=x86_64-unknown-unknown -target-feature +avx10.2-512 -emit-llvm -Wall -Werror -verify
+// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=x86_64-unknown-unknown -target-feature +avx10.2-512 -Wall -Werror -verify

#include <immintrin.h>
#include <stddef.h>
diff -ruN --strip-trailing-cr a/clang/test/CodeGen/X86/avx10_2satcvtds-builtins-errors.c b/clang/test/CodeGen/X86/avx10_2satcvtds-builtins-errors.c
--- a/clang/test/CodeGen/X86/avx10_2satcvtds-builtins-errors.c
+++ b/clang/test/CodeGen/X86/avx10_2satcvtds-builtins-errors.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=i386-unknown-unknown -target-feature +avx10.2-256 -emit-llvm -Wall -Werror -verify
+// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=i386-unknown-unknown -target-feature +avx10.2-256 -Wall -Werror -verify

unsigned long long test_mm_cvttssd(unsigned long long __A) {
return _mm_cvttssd(__A); // expected-error {{call to undeclared function '_mm_cvttssd'}}
4 changes: 2 additions & 2 deletions third_party/llvm/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ load("//third_party:repo.bzl", "tf_http_archive")

def repo(name):
"""Imports LLVM."""
LLVM_COMMIT = "f0b3287297aeeddcf030e3c1b08d05a69ad465aa"
LLVM_SHA256 = "3bc65e7a760a389f5ace1146cb2ffde724a272e97e71c8b8509149e827df6c83"
LLVM_COMMIT = "b39a100ff4ec16f1f9cafcc48ea7fed920726650"
LLVM_SHA256 = "d9deed58ce9f004a2fb1fe810f19eb4235f560c79b0e24d96b67a09719ac5513"

tf_http_archive(
name = name,
Expand Down
68 changes: 34 additions & 34 deletions third_party/shardy/temporary.patch
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
diff --git a/third_party/llvm/generated.patch b/third_party/llvm/generated.patch
index 509398d..ed6047c 100644
index ed6047c..509398d 100644
--- a/third_party/llvm/generated.patch
+++ b/third_party/llvm/generated.patch
@@ -1 +1,28 @@
@@ -1,28 +1 @@
Auto generated patch. Do not edit or delete it, even if empty.
+diff -ruN --strip-trailing-cr a/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-errors.c b/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-errors.c
+--- a/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-errors.c
++++ b/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-errors.c
+@@ -1,4 +1,4 @@
+-// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=i386-unknown-unknown -target-feature +avx10.2-512 -emit-llvm -Wall -Werror -verify
++// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=i386-unknown-unknown -target-feature +avx10.2-512 -Wall -Werror -verify
+
+ #include <immintrin.h>
+ #include <stddef.h>
+diff -ruN --strip-trailing-cr a/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-x64-error.c b/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-x64-error.c
+--- a/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-x64-error.c
++++ b/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-x64-error.c
+@@ -1,4 +1,4 @@
+-// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=x86_64-unknown-unknown -target-feature +avx10.2-512 -emit-llvm -Wall -Werror -verify
++// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=x86_64-unknown-unknown -target-feature +avx10.2-512 -Wall -Werror -verify
+
+ #include <immintrin.h>
+ #include <stddef.h>
+diff -ruN --strip-trailing-cr a/clang/test/CodeGen/X86/avx10_2satcvtds-builtins-errors.c b/clang/test/CodeGen/X86/avx10_2satcvtds-builtins-errors.c
+--- a/clang/test/CodeGen/X86/avx10_2satcvtds-builtins-errors.c
++++ b/clang/test/CodeGen/X86/avx10_2satcvtds-builtins-errors.c
+@@ -1,4 +1,4 @@
+-// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=i386-unknown-unknown -target-feature +avx10.2-256 -emit-llvm -Wall -Werror -verify
++// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=i386-unknown-unknown -target-feature +avx10.2-256 -Wall -Werror -verify
+
+ unsigned long long test_mm_cvttssd(unsigned long long __A) {
+ return _mm_cvttssd(__A); // expected-error {{call to undeclared function '_mm_cvttssd'}}
-diff -ruN --strip-trailing-cr a/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-errors.c b/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-errors.c
---- a/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-errors.c
-+++ b/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-errors.c
-@@ -1,4 +1,4 @@
--// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=i386-unknown-unknown -target-feature +avx10.2-512 -emit-llvm -Wall -Werror -verify
-+// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=i386-unknown-unknown -target-feature +avx10.2-512 -Wall -Werror -verify
-
- #include <immintrin.h>
- #include <stddef.h>
-diff -ruN --strip-trailing-cr a/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-x64-error.c b/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-x64-error.c
---- a/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-x64-error.c
-+++ b/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-x64-error.c
-@@ -1,4 +1,4 @@
--// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=x86_64-unknown-unknown -target-feature +avx10.2-512 -emit-llvm -Wall -Werror -verify
-+// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=x86_64-unknown-unknown -target-feature +avx10.2-512 -Wall -Werror -verify
-
- #include <immintrin.h>
- #include <stddef.h>
-diff -ruN --strip-trailing-cr a/clang/test/CodeGen/X86/avx10_2satcvtds-builtins-errors.c b/clang/test/CodeGen/X86/avx10_2satcvtds-builtins-errors.c
---- a/clang/test/CodeGen/X86/avx10_2satcvtds-builtins-errors.c
-+++ b/clang/test/CodeGen/X86/avx10_2satcvtds-builtins-errors.c
-@@ -1,4 +1,4 @@
--// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=i386-unknown-unknown -target-feature +avx10.2-256 -emit-llvm -Wall -Werror -verify
-+// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=i386-unknown-unknown -target-feature +avx10.2-256 -Wall -Werror -verify
-
- unsigned long long test_mm_cvttssd(unsigned long long __A) {
- return _mm_cvttssd(__A); // expected-error {{call to undeclared function '_mm_cvttssd'}}
diff --git a/third_party/llvm/workspace.bzl b/third_party/llvm/workspace.bzl
index 2f731c7..aaf1f1a 100644
index aaf1f1a..5a83cba 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 = "36adf8ecedb64047021265a1e1730773d3b3a9e8"
- LLVM_SHA256 = "7baedfc21f67f64f054482cbe77cb3049cd4428187cd45799e10ff8eb03dc9f6"
+ LLVM_COMMIT = "f0b3287297aeeddcf030e3c1b08d05a69ad465aa"
+ LLVM_SHA256 = "3bc65e7a760a389f5ace1146cb2ffde724a272e97e71c8b8509149e827df6c83"
- LLVM_COMMIT = "f0b3287297aeeddcf030e3c1b08d05a69ad465aa"
- LLVM_SHA256 = "3bc65e7a760a389f5ace1146cb2ffde724a272e97e71c8b8509149e827df6c83"
+ LLVM_COMMIT = "b39a100ff4ec16f1f9cafcc48ea7fed920726650"
+ LLVM_SHA256 = "d9deed58ce9f004a2fb1fe810f19eb4235f560c79b0e24d96b67a09719ac5513"

tf_http_archive(
name = name,
4 changes: 2 additions & 2 deletions third_party/shardy/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
load("//third_party:repo.bzl", "tf_http_archive", "tf_mirror_urls")

def repo():
SHARDY_COMMIT = "1142aa484b8e11440f609859a6a55edfb733f869"
SHARDY_SHA256 = "ecb2037f2e098488d2061f988b6088d8834460e61fe73ffc32ea5e9c6692b96c"
SHARDY_COMMIT = "db1ae2bba4c609870409119c42323252a85e61a2"
SHARDY_SHA256 = "ee22cdd9893bc0005a1a20ecbf2aebdbc5a731aeedae8d903b0e85af23abb519"

tf_http_archive(
name = "shardy",
Expand Down
27 changes: 0 additions & 27 deletions third_party/tsl/third_party/llvm/generated.patch
Original file line number Diff line number Diff line change
@@ -1,28 +1 @@
Auto generated patch. Do not edit or delete it, even if empty.
diff -ruN --strip-trailing-cr a/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-errors.c b/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-errors.c
--- a/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-errors.c
+++ b/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-errors.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=i386-unknown-unknown -target-feature +avx10.2-512 -emit-llvm -Wall -Werror -verify
+// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=i386-unknown-unknown -target-feature +avx10.2-512 -Wall -Werror -verify

#include <immintrin.h>
#include <stddef.h>
diff -ruN --strip-trailing-cr a/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-x64-error.c b/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-x64-error.c
--- a/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-x64-error.c
+++ b/clang/test/CodeGen/X86/avx10_2_512satcvtds-builtins-x64-error.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=x86_64-unknown-unknown -target-feature +avx10.2-512 -emit-llvm -Wall -Werror -verify
+// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=x86_64-unknown-unknown -target-feature +avx10.2-512 -Wall -Werror -verify

#include <immintrin.h>
#include <stddef.h>
diff -ruN --strip-trailing-cr a/clang/test/CodeGen/X86/avx10_2satcvtds-builtins-errors.c b/clang/test/CodeGen/X86/avx10_2satcvtds-builtins-errors.c
--- a/clang/test/CodeGen/X86/avx10_2satcvtds-builtins-errors.c
+++ b/clang/test/CodeGen/X86/avx10_2satcvtds-builtins-errors.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=i386-unknown-unknown -target-feature +avx10.2-256 -emit-llvm -Wall -Werror -verify
+// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=i386-unknown-unknown -target-feature +avx10.2-256 -Wall -Werror -verify

unsigned long long test_mm_cvttssd(unsigned long long __A) {
return _mm_cvttssd(__A); // expected-error {{call to undeclared function '_mm_cvttssd'}}
4 changes: 2 additions & 2 deletions third_party/tsl/third_party/llvm/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ load("//third_party:repo.bzl", "tf_http_archive")

def repo(name):
"""Imports LLVM."""
LLVM_COMMIT = "f0b3287297aeeddcf030e3c1b08d05a69ad465aa"
LLVM_SHA256 = "3bc65e7a760a389f5ace1146cb2ffde724a272e97e71c8b8509149e827df6c83"
LLVM_COMMIT = "b39a100ff4ec16f1f9cafcc48ea7fed920726650"
LLVM_SHA256 = "d9deed58ce9f004a2fb1fe810f19eb4235f560c79b0e24d96b67a09719ac5513"

tf_http_archive(
name = name,
Expand Down

0 comments on commit d7a2375

Please sign in to comment.