commit | f29f15e2ea24a316cc6982f680b3915156809157 | [log] [tgz] |
---|---|---|
author | Matt Arsenault <Matthew.Arsenault@amd.com> | Thu Aug 30 07:18:10 2018 +0000 |
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Thu Aug 30 07:18:10 2018 +0000 |
tree | 4cd401c7510768a7f1f0254101ec4722f7441d76 | |
parent | 23c93c1752dd0fa162b4ffbce81e62a14ee6532b [diff] |
CodeGen: Make computeRegisterLiveness search forward first If there is an unused def, this would previously report that the register was live. Check for uses first so that it is reported as dead if never used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@341027 91177308-0d34-0410-b5e6-96231b3b80d8