[PATCH] D87542: AMDGPU: Don't sometimes allow instructions before lowered si_end_cf

Carl Ritson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 13 00:36:41 PDT 2020


critson added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp:496
 
-void SILowerControlFlow::emitEndCf(MachineInstr &MI) {
+MachineBasicBlock *SILowerControlFlow::splitBlock(MachineInstr &MI,
+                                                  MachineBasicBlock *BB,
----------------
I wonder if we can place splitBlock somewhere that the code can be shared between multiple passes?  Feels like we end up needing to do this in a few places.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87542/new/

https://reviews.llvm.org/D87542



More information about the llvm-commits mailing list