diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-03-17 20:52:21 +0000 |
|---|---|---|
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-03-17 20:52:21 +0000 |
| commit | e70d5dcf3eb9f2cfe3c0e6bd9d516e733a54fc81 (patch) | |
| tree | b611be8900de3485bb1358b4e697fd38fb2ea5cb /llvm/lib/Transforms/Utils/SimplifyIndVar.cpp | |
| parent | 8e06e80b87d80512bb9a5a7da1a2accd023b8583 (diff) | |
| download | bcm5719-llvm-e70d5dcf3eb9f2cfe3c0e6bd9d516e733a54fc81.tar.gz bcm5719-llvm-e70d5dcf3eb9f2cfe3c0e6bd9d516e733a54fc81.zip | |
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
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyIndVar.cpp')
0 files changed, 0 insertions, 0 deletions

