[PATCH] D42448: [AMDGPU] Make sure all super regs of reserved regs are marked reserved.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 23 15:22:15 PST 2018
arsenm accepted this revision.
arsenm added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: lib/Target/AMDGPU/R600RegisterInfo.cpp:34-47
+ reserveRegisterTuples(Reserved, AMDGPU::ZERO);
+ reserveRegisterTuples(Reserved, AMDGPU::HALF);
+ reserveRegisterTuples(Reserved, AMDGPU::ONE);
+ reserveRegisterTuples(Reserved, AMDGPU::ONE_INT);
+ reserveRegisterTuples(Reserved, AMDGPU::NEG_HALF);
+ reserveRegisterTuples(Reserved, AMDGPU::NEG_ONE);
+ reserveRegisterTuples(Reserved, AMDGPU::PV_X);
----------------
I don't think any of these have super registers but it doesn't really matter
Repository:
rL LLVM
https://reviews.llvm.org/D42448
More information about the llvm-commits
mailing list