HomePhabricator

AMDGPU: Record SGPR spills when restoring too

Description

AMDGPU: Record SGPR spills when restoring too

It's possible in some cases to have a restore present
without a corresponding spill. Due to an apparent bug
in D54366 https://reviews.llvm.org/D54366, only the
restore for a register was emitted. It's probably
always a bug for this to happen, but due to how SGPR
spilling is implemented, this makes the issues appear
worse than it is.

Details

Committed
arsenmNov 26 2018, 1:28 PM
Parents
rL347594: ELF: ICF: Include contents of referenced sections in initial partitioning hash.
Branches
Unknown
Tags
Unknown