commit | 5516bd138753bea8573bc97883fa8ab8507d874d | [log] [tgz] |
---|---|---|
author | Matt Arsenault <Matthew.Arsenault@amd.com> | Tue Jun 20 18:56:32 2017 +0000 |
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Tue Jun 20 18:56:32 2017 +0000 |
tree | 6d17e1d08b28752dd5fc106c84ab617c1d11d479 | |
parent | 6ebce80ed17745cab6920e6b6c9050129255efcf [diff] |
AMDGPU: Do operand folding in program order Before it was possible to partially fold use instructions before the defs. After the xor is folded into a copy, the same mov can end up in the fold list twice, so on the second attempt it will fail expecting to see a register to fold. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305821 91177308-0d34-0410-b5e6-96231b3b80d8