Segmenation fault while addingclonedinstruction

PFA while running this pass in order to add a cloned instruction just before its original instruction i am getting segmentation fault.

regards
Priyanka

new_red.cpp (2.99 KB)