llvm / llvm/llvm-project

Regression in SPEC2017 541.leela_r on AArch64

Open
#209,329 0 comments 0 reactions 0 assignees View on GitHub
regression:23 vectorizers
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

Since https://github.com/llvm/llvm-project/pull/204795 made "-use-dereferenceable-at-point-semantics=true" the default, we now fail to vectorize some code in the function `FastState::play_random_move()` of SPEC2017 541.leela_r.

This leads to a regression of ~2.5% measured on a Neoverse V2 machine.

Reproducer to follow.

Contributor guide

Open the contributing guide

Research direction

Start by reading PR 204795 and inspect the vectorization behavior of SPEC2017 541.leela_r in FastState::play_random_move() on AArch64. Once the promised reproducer is available, run it and compare behavior with the dereferenceable-at-point semantics change; done means the code vectorizes again without the reported Neoverse V2 regression.

Written by the indexing model from the issue text.

Assessment

Domain
compilers, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.