How to create a new Basic block

Please help me out. I am trying to create an empty basic block between two
basic blocks. I am using splitedge function. But I am getting the o/p. The
.ll file is not showing any output.

soumya prasad ukil

Hi, AFAIK you'd use the createBasicBlock method of the
llvm::BasicBlock class. If you want to emit it during the code gen
phase the EmitBlock method of the CodeGenFunction class helps.