diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-06-11 18:28:31 -0400 |
|---|---|---|
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-06-11 18:53:26 -0400 |
| commit | 2247072b658bda4673221aee87347fdb75fbda6c (patch) | |
| tree | a924297465eb2d0a38bfbb37400cff8eaac6543c /clang/lib/CodeGen/CGExprComplex.cpp | |
| parent | fc148a4c8848d730f7f5c8c80306ede6b4205e91 (diff) | |
AMDGPU/GlobalISel: Set insert point when emitting control flow pseudos
This was implicitly assuming the branch instruction was the next after
the pseudo. It's possible for another non-terminator instruction to be
inserted between the intrinsic and the branch, so adjust the insertion
point. Fixes a non-terminator after terminator verifier error (which
without the verifier, manifested itself as an infinite loop in
analyzeBranch much later on).
Diffstat (limited to 'clang/lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions
