diff options
| author | Nicolai Haehnle <nhaehnle@gmail.com> | 2018-10-17 15:37:48 +0000 |
|---|---|---|
| committer | Nicolai Haehnle <nhaehnle@gmail.com> | 2018-10-17 15:37:48 +0000 |
| commit | 4821937d2ef9120673ecdd6d139ceddf29a54957 (patch) | |
| tree | 24af8a4a0759937e03e93094e9e26fd17739f41a /clang/lib/CodeGen/BackendUtil.cpp | |
| parent | 0823050b9f4ca2dd0aaf27ee34cb45bde5bf05ea (diff) | |
| download | bcm5719-llvm-4821937d2ef9120673ecdd6d139ceddf29a54957.tar.gz bcm5719-llvm-4821937d2ef9120673ecdd6d139ceddf29a54957.zip | |
AMDGPU: Avoid selecting ds_{read,write}2_b32 on SI
Summary:
To workaround a hardware issue in the (base + offset) calculation
when base is negative. The impact on code quality should be limited
since SILoadStoreOptimizer still runs afterwards and is able to
combine loads/stores based on known sign information.
This fixes visible corruption in Hitman on SI (easily reproducible
by running benchmark mode).
Change-Id: Ia178d207a5e2ac38ae7cd98b532ea2ae74704e5f
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99923
Reviewers: arsenm, mareko
Subscribers: jholewinski, kzhuravl, jvesely, wdng, yaxunl, dstuttard, tpr, t-tye, llvm-commits
Differential Revision: https://reviews.llvm.org/D53160
llvm-svn: 344698
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions

