Fix ASAN failure in memref-dataflow-opt
Fix ASAN failure in memref-dataflow-opt

- memrefsToErase had duplicates inserted into it; switch to SmallPtrSet.

PiperOrigin-RevId: 227299306

arborh/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-experimental_link_static_libraries_once,DavidNorman/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow,annarev/tensorflow,yongtang/tensorflow,DavidNorman/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,karllessard/tensorflow,freedomtan/tensorflow,arborh/tensorflow,jhseu/tensorflow,ppwwyyxx/tensorflow,paolodedios/tensorflow,ppwwyyxx/tensorflow,annarev/tensorflow,ppwwyyxx/tensorflow,adit-chandra/tensorflow,davidzchen/tensorflow,gunan/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-Corporation/tensorflow,aam-at/tensorflow,adit-chandra/tensorflow,arborh/tensorflow,paolodedios/tensorflow,jhseu/tensorflow,adit-chandra/tensorflow,Intel-tensorflow/tensorflow,xzturn/tensorflow,aam-at/tensorflow,adit-chandra/tensorflow,petewarden/tensorflow,DavidNorman/tensorflow,frreiss/tensorflow-fred,jhseu/tensorflow,karllessard/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow,aam-at/tensorflow,paolodedios/tensorflow,paolodedios/tensorflow,cxxgtxy/tensorflow,karllessard/tensorflow,tensorflow/tensorflow,freedomtan/tensorflow,renyi533/tensorflow,xzturn/tensorflow,petewarden/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,annarev/tensorflow,cxxgtxy/tensorflow,gautam1858/tensorflow,gautam1858/tensorflow,gunan/tensorflow,cxxgtxy/tensorflow,Intel-Corporation/tensorflow,petewarden/tensorflow,karllessard/tensorflow,Intel-Corporation/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gunan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,freedomtan/tensorflow,sarvex/tensorflow,DavidNorman/tensorflow,renyi533/tensorflow,Intel-tensorflow/tensorflow,arborh/tensorflow,adit-chandra/tensorflow,davidzchen/tensorflow,jhseu/tensorflow,frreiss/tensorflow-fred,adit-chandra/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,adit-chandra/tensorflow,paolodedios/tensorflow,annarev/tensorflow,annarev/tensorflow,davidzchen/tensorflow,cxxgtxy/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow-pywrap_saved_model,frreiss/tensorflow-fred,davidzchen/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,paolodedios/tensorflow,gunan/tensorflow,paolodedios/tensorflow,cxxgtxy/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,jhseu/tensorflow,Intel-tensorflow/tensorflow,petewarden/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow-pywrap_saved_model,sarvex/tensorflow,sarvex/tensorflow,DavidNorman/tensorflow,annarev/tensorflow,tensorflow/tensorflow,gunan/tensorflow,arborh/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,paolodedios/tensorflow,sarvex/tensorflow,gautam1858/tensorflow,aldian/tensorflow,yongtang/tensorflow,frreiss/tensorflow-fred,karllessard/tensorflow,karllessard/tensorflow,adit-chandra/tensorflow,DavidNorman/tensorflow,ppwwyyxx/tensorflow,arborh/tensorflow,petewarden/tensorflow,sarvex/tensorflow,yongtang/tensorflow,aam-at/tensorflow,gautam1858/tensorflow,cxxgtxy/tensorflow,xzturn/tensorflow,jhseu/tensorflow,xzturn/tensorflow,frreiss/tensorflow-fred,yongtang/tensorflow,ppwwyyxx/tensorflow,aam-at/tensorflow,aldian/tensorflow,arborh/tensorflow,gunan/tensorflow,yongtang/tensorflow,annarev/tensorflow,Intel-tensorflow/tensorflow,renyi533/tensorflow,davidzchen/tensorflow,ppwwyyxx/tensorflow,xzturn/tensorflow,gunan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,aldian/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ppwwyyxx/tensorflow,sarvex/tensorflow,Intel-tensorflow/tensorflow,paolodedios/tensorflow,annarev/tensorflow,DavidNorman/tensorflow,aldian/tensorflow,renyi533/tensorflow,tensorflow/tensorflow,yongtang/tensorflow,tensorflow/tensorflow,karllessard/tensorflow,DavidNorman/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,arborh/tensorflow,petewarden/tensorflow,tensorflow/tensorflow,frreiss/tensorflow-fred,arborh/tensorflow,paolodedios/tensorflow,petewarden/tensorflow,Intel-tensorflow/tensorflow,petewarden/tensorflow,karllessard/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aam-at/tensorflow,aldian/tensorflow,adit-chandra/tensorflow,gunan/tensorflow,paolodedios/tensorflow,aldian/tensorflow,tensorflow/tensorflow,xzturn/tensorflow,renyi533/tensorflow,karllessard/tensorflow,petewarden/tensorflow,Intel-Corporation/tensorflow,gunan/tensorflow,adit-chandra/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,aam-at/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-pywrap_saved_model,freedomtan/tensorflow,aam-at/tensorflow,aam-at/tensorflow,gautam1858/tensorflow,freedomtan/tensorflow,aam-at/tensorflow,xzturn/tensorflow,gautam1858/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,davidzchen/tensorflow,gautam1858/tensorflow,xzturn/tensorflow,tensorflow/tensorflow,xzturn/tensorflow,sarvex/tensorflow,yongtang/tensorflow,arborh/tensorflow,freedomtan/tensorflow,Intel-Corporation/tensorflow,cxxgtxy/tensorflow,karllessard/tensorflow,annarev/tensorflow,davidzchen/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-pywrap_saved_model,frreiss/tensorflow-fred,ppwwyyxx/tensorflow,ppwwyyxx/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gautam1858/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow,gautam1858/tensorflow,gunan/tensorflow,annarev/tensorflow,karllessard/tensorflow,aldian/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-pywrap_saved_model,annarev/tensorflow,freedomtan/tensorflow,DavidNorman/tensorflow,yongtang/tensorflow,arborh/tensorflow,davidzchen/tensorflow,gunan/tensorflow,jhseu/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,renyi533/tensorflow,DavidNorman/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,tensorflow/tensorflow,yongtang/tensorflow,jhseu/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,freedomtan/tensorflow,aam-at/tensorflow,renyi533/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_saved_model,renyi533/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,yongtang/tensorflow,DavidNorman/tensorflow,Intel-tensorflow/tensorflow,frreiss/tensorflow-fred,cxxgtxy/tensorflow,gautam1858/tensorflow,renyi533/tensorflow,frreiss/tensorflow-fred,davidzchen/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_saved_model,Intel-tensorflow/tensorflow,gautam1858/tensorflow,ppwwyyxx/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-pywrap_saved_model,renyi533/tensorflow,aldian/tensorflow,arborh/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,frreiss/tensorflow-fred,yongtang/tensorflow,gunan/tensorflow,Intel-tensorflow/tensorflow,jhseu/tensorflow,ppwwyyxx/tensorflow,gautam1858/tensorflow,xzturn/tensorflow,petewarden/tensorflow,davidzchen/tensorflow