commit | e70d5dcf3eb9f2cfe3c0e6bd9d516e733a54fc81 | [log] [tgz] |
---|---|---|
author | Matt Arsenault <Matthew.Arsenault@amd.com> | Fri Mar 17 20:52:21 2017 +0000 |
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Fri Mar 17 20:52:21 2017 +0000 |
tree | b611be8900de3485bb1358b4e697fd38fb2ea5cb | |
parent | 8e06e80b87d80512bb9a5a7da1a2accd023b8583 [diff] |
AMDGPU: Fix handling of constant phi input loop conditions If the loop condition was an i1 phi with a constantexpr input, this would add a loop intrinsic fed by a phi dependent on a call to if.break in the same block. Insert the call in the loop header. llvm-svn: 298121