diff options
author | Sebastian Neubauer <Sebastian.Neubauer@amd.com> | 2021-08-19 13:55:03 +0200 |
---|---|---|
committer | Sebastian Neubauer <Sebastian.Neubauer@amd.com> | 2021-08-20 08:21:36 +0200 |
commit | f3fe44fa05a35c2d2c273690f360103f79b90fc3 (patch) | |
tree | ca9d8dd6bb7d4d374a34c4cfc025360e0ee6ed54 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | fa4132dc88cf212c68f1561d142541b7a41693b8 (diff) | |
download | llvm-f3fe44fa05a35c2d2c273690f360103f79b90fc3.zip llvm-f3fe44fa05a35c2d2c273690f360103f79b90fc3.tar.gz llvm-f3fe44fa05a35c2d2c273690f360103f79b90fc3.tar.bz2 |
[AMDGPU] Fix too many constants with flat scratch
Prevent SIFoldOperands from creating SALU instructions with a constant
and a frame index. Previously, only one operand was checked to be a
frame index, leading to too many constants when flat scratch is enabled
and stack offsets are large.
Differential Revision: https://reviews.llvm.org/D108368
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions