Commit 29111104 authored by Hans Wennborg's avatar Hans Wennborg Committed by Commit Bot

Speculatively disable LLVM's TypePromotion pass in tip-of-tree builds

To see if that greens the bots.

TBR=thakis

Bug: 1033863
Change-Id: I1763967f8d50967df8b7730a4ee333e43e0f5eee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1979789Reviewed-by: default avatarHans Wennborg <hans@chromium.org>
Commit-Queue: Hans Wennborg <hans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#727047}
parent d976c571
......@@ -631,6 +631,15 @@ config("compiler") {
"-Wl,--thinlto-cache-policy,$cache_policy",
]
}
if (llvm_force_head_revision) {
# Disable TypePromotion to see if that fixes the ToT bots.
# TODO(crbug.com/1033863): Get this fixed upstream.
ldflags += [
"-Wl,-mllvm",
"-Wl,-disable-type-promotion=true",
]
}
} else {
ldflags += [ "-Wl,-plugin-opt,jobs=" + max_jobs_per_link ]
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment