|
| 1 | +diff --git a/third_party/llvm/generated.patch b/third_party/llvm/generated.patch |
| 2 | +index 509398d..b1fe52b 100644 |
| 3 | +--- a/third_party/llvm/generated.patch |
| 4 | ++++ b/third_party/llvm/generated.patch |
| 5 | +@@ -1 +1,38 @@ |
| 6 | + Auto generated patch. Do not edit or delete it, even if empty. |
| 7 | ++diff -ruN --strip-trailing-cr a/llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp b/llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp |
| 8 | ++--- a/llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp |
| 9 | +++++ b/llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp |
| 10 | ++@@ -654,8 +654,10 @@ |
| 11 | ++ // There is a potential that the model could be adversarial and |
| 12 | ++ // continually evict live ranges over and over again, leading to a |
| 13 | ++ // large amount of compile time being spent in regalloc. If we hit the |
| 14 | ++- // threshold, prevent the range from being evicted. |
| 15 | ++- if (IntfCascade >= MaxCascade) |
| 16 | +++ // threshold, prevent the range from being evicted. We still let the |
| 17 | +++ // range through if it is urgent as we are required to produce an |
| 18 | +++ // eviction if the candidate is not spillable. |
| 19 | +++ if (IntfCascade >= MaxCascade && !Urgent) |
| 20 | ++ return false; |
| 21 | ++ |
| 22 | ++ // Only evict older cascades or live ranges without a cascade. |
| 23 | ++diff -ruN --strip-trailing-cr a/llvm/test/CodeGen/NVPTX/nvcl-param-align.ll b/llvm/test/CodeGen/NVPTX/nvcl-param-align.ll |
| 24 | ++--- a/llvm/test/CodeGen/NVPTX/nvcl-param-align.ll |
| 25 | +++++ b/llvm/test/CodeGen/NVPTX/nvcl-param-align.ll |
| 26 | ++@@ -1,5 +1,5 @@ |
| 27 | ++-; RUN: llc < %s -mtriple=nvptx64 -mcpu=sm_20 | FileCheck %s |
| 28 | ++-; RUN: %if ptxas %{ llc < %s -mtriple=nvptx64 -mcpu=sm_20 | %ptxas-verify %} |
| 29 | +++; RUN: llc < %s -mtriple=nvptx64-nvidia-nvcl -mcpu=sm_20 | FileCheck %s |
| 30 | +++; RUN: %if ptxas %{ llc < %s -mtriple=nvptx64-nvidia-nvcl -mcpu=sm_20 | %ptxas-verify %} |
| 31 | ++ |
| 32 | ++ target triple = "nvptx-unknown-nvcl" |
| 33 | ++ |
| 34 | ++diff -ruN --strip-trailing-cr a/llvm/test/CodeGen/NVPTX/surf-write.ll b/llvm/test/CodeGen/NVPTX/surf-write.ll |
| 35 | ++--- a/llvm/test/CodeGen/NVPTX/surf-write.ll |
| 36 | +++++ b/llvm/test/CodeGen/NVPTX/surf-write.ll |
| 37 | ++@@ -1,5 +1,5 @@ |
| 38 | ++ ; RUN: llc < %s -mcpu=sm_20 -verify-machineinstrs | FileCheck %s |
| 39 | ++-; RUN: %if ptxas %{ llc < %s -mcpu=sm_20 -verify-machineinstrs | %ptxas-verify %} |
| 40 | +++; RUN: %if ptxas %{ llc < %s -mcpu=sm_20 -mtriple=nvptx64-nvcl -verify-machineinstrs | %ptxas-verify %} |
| 41 | ++ |
| 42 | ++ target triple = "nvptx-unknown-nvcl" |
| 43 | ++ |
1 | 44 | diff --git a/third_party/llvm/workspace.bzl b/third_party/llvm/workspace.bzl |
2 | | -index 0e243d3..8caa08d 100644 |
| 45 | +index 8caa08d..d9050b7 100644 |
3 | 46 | --- a/third_party/llvm/workspace.bzl |
4 | 47 | +++ b/third_party/llvm/workspace.bzl |
5 | 48 | @@ -4,8 +4,8 @@ load("//third_party:repo.bzl", "tf_http_archive") |
6 | 49 |
|
7 | 50 | def repo(name): |
8 | 51 | """Imports LLVM.""" |
9 | | -- LLVM_COMMIT = "a21f9bfe29c2b9f1967952d12a5b7cb8f8b75202" |
10 | | -- LLVM_SHA256 = "7039c2826841e473fe6431e36a2d8ba3746f200da53c481384f7f5d970e5bca1" |
11 | | -+ LLVM_COMMIT = "af20aff35ec37ead88903bc3e44f6a81c5c9ca4e" |
12 | | -+ LLVM_SHA256 = "6e31682011d8c483c6a41adf5389eb09ad7db84331ca985d33a5d59efd0388f6" |
| 52 | +- LLVM_COMMIT = "af20aff35ec37ead88903bc3e44f6a81c5c9ca4e" |
| 53 | +- LLVM_SHA256 = "6e31682011d8c483c6a41adf5389eb09ad7db84331ca985d33a5d59efd0388f6" |
| 54 | ++ LLVM_COMMIT = "e86910337f98e57f5b9253f7d80d5b916eb1d97e" |
| 55 | ++ LLVM_SHA256 = "4ca0eff0ca86ed6f2fdb7682354fdf4c85151d90ac9fb6e55a868e4191359e9f" |
13 | 56 |
|
14 | 57 | tf_http_archive( |
15 | 58 | name = name, |
0 commit comments