summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/BackendUtil.cpp
diff options
context:
space:
mode:
authorNicolai Haehnle <nhaehnle@gmail.com>2018-10-17 15:37:48 +0000
committerNicolai Haehnle <nhaehnle@gmail.com>2018-10-17 15:37:48 +0000
commit4821937d2ef9120673ecdd6d139ceddf29a54957 (patch)
tree24af8a4a0759937e03e93094e9e26fd17739f41a /clang/lib/CodeGen/BackendUtil.cpp
parent0823050b9f4ca2dd0aaf27ee34cb45bde5bf05ea (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud