diff options
author | Jeffrey Byrnes <JeffreyByrnes@amd.com> | 2023-05-04 09:57:15 -0700 |
---|---|---|
committer | Jeffrey Byrnes <Jeffrey.Byrnes@amd.com> | 2023-05-12 12:38:29 -0700 |
commit | 88149fb3f4a8a7b86803823078d5b9ccddebba7b (patch) | |
tree | 5ade123e385b2812271682efe5d83972902764d5 /llvm/lib/Support/StringRef.cpp | |
parent | 39fe48b74eeaa037874f1117f76c4916dc722743 (diff) | |
download | llvm-88149fb3f4a8a7b86803823078d5b9ccddebba7b.zip llvm-88149fb3f4a8a7b86803823078d5b9ccddebba7b.tar.gz llvm-88149fb3f4a8a7b86803823078d5b9ccddebba7b.tar.bz2 |
[AMDGPU][GFX908] IndirectCopyToAGPR: Confirm modified register is dst reg of accvgpr_write
IndirectCopyToAGPR should be reworked as to avoid optimizing during copy lowering. However, as it stands, the code is buggy. This patch replaces the call to definesRegister with modifiesRegister, and confirms that the dest reg of the found accvgpr_write is in fact the src reg of our copy.
Differential Revision: https://reviews.llvm.org/D149873
Change-Id: Id8a61659ac15565dcb970069d0624f0925a46e6d
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions