Ajit Agarwal <aagar...@linux.ibm.com> writes: >> What happens if you leave the assert alone? When does it fire? Is it >> still for uses in debug insns? If so, it's the fusion pass's responsibility >> to update those, as mentioned above. And it must update them before, >> or at the same time as, it deletes the definition. >> > > For debug insn I call reset_debug_use and now I dont see issues > with debug insn and issues I see with non debug insn where > def is there in old_defs and use has to be removed for the insn > that we modify load with OO UNSPEC to generate lxvp.
Can you walk me through it step-by-step? If you leave the assert alone, when does it fire? What set of insn_changes are being made when the assert fires? (Calling debug on the changes will show this.) And what use does the assert fire on? (Again, calling debug on the use will show this.) Thanks, Richard