aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2020-06-11 18:28:31 -0400
committerMatt Arsenault <Matthew.Arsenault@amd.com>2020-06-11 18:53:26 -0400
commit2247072b658bda4673221aee87347fdb75fbda6c (patch)
treea924297465eb2d0a38bfbb37400cff8eaac6543c /clang/lib/CodeGen/CodeGenFunction.h
parentfc148a4c8848d730f7f5c8c80306ede6b4205e91 (diff)
downloadllvm-2247072b658bda4673221aee87347fdb75fbda6c.zip
llvm-2247072b658bda4673221aee87347fdb75fbda6c.tar.gz
llvm-2247072b658bda4673221aee87347fdb75fbda6c.tar.bz2
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/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions