[MLIR] More graceful failure in MaterializeVectors
[MLIR] More graceful failure in MaterializeVectors

Even though it is unexpected except in pathological cases, a nullptr clone may
be returned. This CL handles the nullptr return gracefuly.

PiperOrigin-RevId: 227764615

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