Commit Graph

2 Commits

Author SHA1 Message Date
Sebastian Neubauer 4359b870b1 [AMDGPU] Init scratch only if necessary
If no scratch or flat instructions are used, we do not need to
initialize the flat scratch hardware register.

Differential Revision: https://reviews.llvm.org/D105920
2021-07-14 10:45:22 +02:00
Sebastian Neubauer a12e551882 [AMDGPU] Precommit flat-scratch-init.ll test 2021-07-14 10:45:22 +02:00