[TSan] Avoid use of ReplaceInstWithInst()
This is mainly for consistency across code paths, but also makes sure that all calls use IRInstrumentationBuilder and its special debuginfo handling. The two remaining uses don't actually need RAUW, they just have to erase the original instruction.
parent
e61e2609
Please register or sign in to comment