<div dir="ltr"><div>Hi everyone,</div><div>I'm faily new to LLVM, I'm working on a new backend.</div><div><br></div><div>In my backend, one of the requirements is to split a BB on every call, I considered putting some kind of pseudo instruction using the TargetLowering::LowerCall function.</div><div><br></div><div>Before going said path, I was wondering if there is some way to split the BB before the SelectionDAG is generated, this way the call instruction would be last in the SelectionDAG would be last and won't get deleted during the combining stage.</div><div><br></div><div>Thanks in advance, Liad.</div></div>