Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Issue 891933003: Disable LTO for AVX2 code. (Closed)

Created:
5 years, 10 months ago by pcc
Modified:
5 years, 10 months ago
Reviewers:
Johann, Nico
CC:
wwcv, jzern, fgalligan1, Tom Finegan
Base URL:
https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Disable LTO for AVX2 code. LLVM currently lacks the ability to compile different parts of an LTO'd object for different subtargets. Disable it here to avoid needing to compile the rest of the application with AVX2 when using LTO. BUG=chromium:453195 R=thakis@chromium.org Committed: https://chromium.googlesource.com/chromium/deps/libvpx/+/7464c834e05060af9cf8eb29032a8ad30828eec6

Patch Set 1 #

Total comments: 1

Patch Set 2 : add comment #

Patch Set 3 : update generate_gypi.sh script #

Patch Set 4 : add LLVM bug reference #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
M generate_gypi.sh View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M libvpx_srcs_x86_64_intrinsics.gypi View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M libvpx_srcs_x86_intrinsics.gypi View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (4 generated)
pcc
5 years, 10 months ago (2015-02-04 19:03:27 UTC) #1
Nico
https://codereview.chromium.org/891933003/diff/1/libvpx_srcs_x86_64_intrinsics.gypi File libvpx_srcs_x86_64_intrinsics.gypi (right): https://codereview.chromium.org/891933003/diff/1/libvpx_srcs_x86_64_intrinsics.gypi#newcode1 libvpx_srcs_x86_64_intrinsics.gypi:1: # This file is generated. Do not edit. These ...
5 years, 10 months ago (2015-02-04 19:06:03 UTC) #2
Johann
Please see generate_gypi.sh around line 108. LTO is disabled for neon targets (for a similar ...
5 years, 10 months ago (2015-02-04 19:10:50 UTC) #4
pcc
On 2015/02/04 19:06:03, Nico wrote: > https://codereview.chromium.org/891933003/diff/1/libvpx_srcs_x86_64_intrinsics.gypi > File libvpx_srcs_x86_64_intrinsics.gypi (right): > > https://codereview.chromium.org/891933003/diff/1/libvpx_srcs_x86_64_intrinsics.gypi#newcode1 > ...
5 years, 10 months ago (2015-02-04 19:16:03 UTC) #5
Johann
On 2015/02/04 19:16:03, pcc wrote: > I enabled AVX1 globally If AVX1 is required that ...
5 years, 10 months ago (2015-02-04 19:19:51 UTC) #6
pcc
On 2015/02/04 19:19:51, Johann wrote: > On 2015/02/04 19:16:03, pcc wrote: > > I enabled ...
5 years, 10 months ago (2015-02-04 19:24:25 UTC) #7
Nico
Johann: AVX1 isn't required; this is for an experimental test-only config. pcc: This might be ...
5 years, 10 months ago (2015-02-04 19:31:34 UTC) #8
pcc
On 2015/02/04 19:31:34, Nico wrote: > Johann: AVX1 isn't required; this is for an experimental ...
5 years, 10 months ago (2015-02-04 19:51:45 UTC) #9
Nico
lgtm, but please add some bug reference to the TODO
5 years, 10 months ago (2015-02-04 20:04:56 UTC) #10
commit-bot: I haz the power
Commit queue rejected this change because it did not recognize the base URL. Please commit ...
5 years, 10 months ago (2015-02-04 20:28:12 UTC) #14
Johann
On 2015/02/04 20:28:12, I haz the power (commit-bot) wrote: > Commit queue rejected this change ...
5 years, 10 months ago (2015-02-04 22:07:35 UTC) #15
Nico
Committed patchset #4 (id:60001) manually as 7464c834e05060af9cf8eb29032a8ad30828eec6 (presubmit successful).
5 years, 10 months ago (2015-02-05 20:45:57 UTC) #16
Nico
5 years, 10 months ago (2015-02-05 20:46:43 UTC) #17
Message was sent while issue was closed.
I landed this here:
https://chromium.googlesource.com/chromium/deps/libvpx/+/7464c834e05060af9cf8...

Sorry, I messed up the attribution. (Hadn't committed to libvpx since it moved
to git.)

Powered by Google App Engine
This is Rietveld 408576698