aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2019-12-27 13:11:06 -0500
committerMatt Arsenault <arsenm2@gmail.com>2020-02-09 17:59:19 -0500
commit6e1770821fbd05bd5180530aca17e1455d1c29d8 (patch)
treec8143595a403835fda3f6d383cac5abc0de1a5ac /llvm/lib/CodeGen/MachineFunction.cpp
parent29e646fe655cb63a23a08e7213599e51ef564ab5 (diff)
downloadllvm-6e1770821fbd05bd5180530aca17e1455d1c29d8.zip
llvm-6e1770821fbd05bd5180530aca17e1455d1c29d8.tar.gz
llvm-6e1770821fbd05bd5180530aca17e1455d1c29d8.tar.bz2
AMDGPU: Fix SI_IF lowering when the save exec reg has terminator uses
Reverts part of 6524a7a2b9ca072bd7f7b4355d1230e70c679d2f. Since that commit, the expansion was ignoring the actual save exec register produced by the instruction, and looking at other instructions. I do not understand why it was looking at other instructions, but relying on this scan was wrong. Fixes verifier errors after SI_IF is tail duplicated, which should be correct to do. The results were fed into a phi, which was lowered to the S_MOV_B64_term instructions.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions