diff options
author | alex-t <alexander.timofeev@amd.com> | 2021-03-18 22:22:08 +0300 |
---|---|---|
committer | alex-t <alexander.timofeev@amd.com> | 2021-03-24 14:14:13 +0300 |
commit | dccf83acf95530da0425ab6293addb410fb062fd (patch) | |
tree | 61452a58f6c10999a66f5e4503084b7bd0d8578d /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 952bc6c92e21414bcafa6bd85bce0e7f79ddc856 (diff) | |
download | llvm-dccf83acf95530da0425ab6293addb410fb062fd.zip llvm-dccf83acf95530da0425ab6293addb410fb062fd.tar.gz llvm-dccf83acf95530da0425ab6293addb410fb062fd.tar.bz2 |
[AMDGPU] SIOptimizeExecMaskingPreRA should check constant bus constraint when folds EXEC copy
Folding EXEC copy into it's single use may lead to constant bus constraint violation as it adds one more SGPR operand.
This change makes it validate the user instruction with the new SGPR operand and only fold it if it is legal.
Reviewed By: rampitec, arsenm
Differential Revision: https://reviews.llvm.org/D98888
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions