LLVMers,<br><br> So, I'm trying to write a pass that changes the names of the basic blocks through the use of Value, so:<br><br> Value *V = *BasicBlockPtr;<br> const Twine Tname("new_name");<br> V->setName(Tname);<br>
<br>But when I run the opt and look at the IR output nothing is changed? Not sure what I'm doing wrong.<br><br>Thanks.<br><br><br>