[XLA] Simplify function in literal.cc.  NFC
[XLA] Simplify function in literal.cc.  NFC

PiperOrigin-RevId: 232533777

annarev/tensorflow,karllessard/tensorflow,davidzchen/tensorflow,adit-chandra/tensorflow,chemelnucfin/tensorflow,aam-at/tensorflow,paolodedios/tensorflow,kevin-coder/tensorflow-fork,Intel-tensorflow/tensorflow,ageron/tensorflow,Intel-Corporation/tensorflow,aldian/tensorflow,ghchinoy/tensorflow,cxxgtxy/tensorflow,xzturn/tensorflow,aam-at/tensorflow,ageron/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,ppwwyyxx/tensorflow,tensorflow/tensorflow,karllessard/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,ppwwyyxx/tensorflow,frreiss/tensorflow-fred,sarvex/tensorflow,davidzchen/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,jhseu/tensorflow,arborh/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_saved_model,arborh/tensorflow,alsrgv/tensorflow,gunan/tensorflow,jhseu/tensorflow,Intel-Corporation/tensorflow,Intel-tensorflow/tensorflow,ppwwyyxx/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,jhseu/tensorflow,jbedorf/tensorflow,sarvex/tensorflow,freedomtan/tensorflow,yongtang/tensorflow,davidzchen/tensorflow,aam-at/tensorflow,petewarden/tensorflow,jbedorf/tensorflow,Intel-tensorflow/tensorflow,chemelnucfin/tensorflow,xzturn/tensorflow,karllessard/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow,chemelnucfin/tensorflow,xzturn/tensorflow,Intel-Corporation/tensorflow,Intel-tensorflow/tensorflow,kevin-coder/tensorflow-fork,gunan/tensorflow,annarev/tensorflow,tensorflow/tensorflow,aldian/tensorflow,annarev/tensorflow,arborh/tensorflow,frreiss/tensorflow-fred,freedomtan/tensorflow,cxxgtxy/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,chemelnucfin/tensorflow,frreiss/tensorflow-fred,cxxgtxy/tensorflow,paolodedios/tensorflow,jendap/tensorflow,jhseu/tensorflow,freedomtan/tensorflow,gunan/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,gunan/tensorflow,jbedorf/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_tf_optimizer,ageron/tensorflow,renyi533/tensorflow,yongtang/tensorflow,karllessard/tensorflow,theflofly/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,jendap/tensorflow,petewarden/tensorflow,yongtang/tensorflow,ageron/tensorflow,adit-chandra/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,adit-chandra/tensorflow,Intel-tensorflow/tensorflow,davidzchen/tensorflow,gautam1858/tensorflow,gautam1858/tensorflow,adit-chandra/tensorflow,kevin-coder/tensorflow-fork,chemelnucfin/tensorflow,Intel-Corporation/tensorflow,jendap/tensorflow,tensorflow/tensorflow,theflofly/tensorflow,jendap/tensorflow,gunan/tensorflow,ppwwyyxx/tensorflow,jbedorf/tensorflow,chemelnucfin/tensorflow,yongtang/tensorflow,freedomtan/tensorflow,arborh/tensorflow,tensorflow/tensorflow-pywrap_saved_model,alsrgv/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,sarvex/tensorflow,ghchinoy/tensorflow,alsrgv/tensorflow,karllessard/tensorflow,ageron/tensorflow,aam-at/tensorflow,arborh/tensorflow,Intel-tensorflow/tensorflow,karllessard/tensorflow,ppwwyyxx/tensorflow,gautam1858/tensorflow,DavidNorman/tensorflow,renyi533/tensorflow,annarev/tensorflow,sarvex/tensorflow,alsrgv/tensorflow,jhseu/tensorflow,theflofly/tensorflow,Intel-tensorflow/tensorflow,davidzchen/tensorflow,aam-at/tensorflow,adit-chandra/tensorflow,ghchinoy/tensorflow,arborh/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,xzturn/tensorflow,petewarden/tensorflow,ageron/tensorflow,alsrgv/tensorflow,alsrgv/tensorflow,theflofly/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,ageron/tensorflow,annarev/tensorflow,gautam1858/tensorflow,petewarden/tensorflow,adit-chandra/tensorflow,aldian/tensorflow,jhseu/tensorflow,ghchinoy/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,karllessard/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_saved_model,jendap/tensorflow,ppwwyyxx/tensorflow,ghchinoy/tensorflow,jhseu/tensorflow,kevin-coder/tensorflow-fork,ppwwyyxx/tensorflow,gunan/tensorflow,annarev/tensorflow,petewarden/tensorflow,renyi533/tensorflow,DavidNorman/tensorflow,paolodedios/tensorflow,paolodedios/tensorflow,DavidNorman/tensorflow,adit-chandra/tensorflow,paolodedios/tensorflow,karllessard/tensorflow,xzturn/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,alsrgv/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-experimental_link_static_libraries_once,jendap/tensorflow,tensorflow/tensorflow,arborh/tensorflow,yongtang/tensorflow,annarev/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,jhseu/tensorflow,karllessard/tensorflow,gautam1858/tensorflow,chemelnucfin/tensorflow,sarvex/tensorflow,xzturn/tensorflow,freedomtan/tensorflow,arborh/tensorflow,gunan/tensorflow,freedomtan/tensorflow,ageron/tensorflow,theflofly/tensorflow,renyi533/tensorflow,Intel-Corporation/tensorflow,ghchinoy/tensorflow,Intel-tensorflow/tensorflow,aldian/tensorflow,gautam1858/tensorflow,DavidNorman/tensorflow,frreiss/tensorflow-fred,xzturn/tensorflow,xzturn/tensorflow,frreiss/tensorflow-fred,ghchinoy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,karllessard/tensorflow,jendap/tensorflow,aam-at/tensorflow,cxxgtxy/tensorflow,jbedorf/tensorflow,jbedorf/tensorflow,alsrgv/tensorflow,DavidNorman/tensorflow,annarev/tensorflow,tensorflow/tensorflow,petewarden/tensorflow,arborh/tensorflow,renyi533/tensorflow,Intel-Corporation/tensorflow,aldian/tensorflow,aam-at/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,petewarden/tensorflow,arborh/tensorflow,theflofly/tensorflow,petewarden/tensorflow,tensorflow/tensorflow,gunan/tensorflow,ghchinoy/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow,aam-at/tensorflow,jbedorf/tensorflow,jhseu/tensorflow,frreiss/tensorflow-fred,aam-at/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,DavidNorman/tensorflow,yongtang/tensorflow,cxxgtxy/tensorflow,aldian/tensorflow,ppwwyyxx/tensorflow,davidzchen/tensorflow,theflofly/tensorflow,frreiss/tensorflow-fred,sarvex/tensorflow,jbedorf/tensorflow,kevin-coder/tensorflow-fork,sarvex/tensorflow,petewarden/tensorflow,adit-chandra/tensorflow,jendap/tensorflow,DavidNorman/tensorflow,renyi533/tensorflow,ghchinoy/tensorflow,annarev/tensorflow,gunan/tensorflow,ppwwyyxx/tensorflow,gunan/tensorflow,Intel-Corporation/tensorflow,jbedorf/tensorflow,davidzchen/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,frreiss/tensorflow-fred,DavidNorman/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,theflofly/tensorflow,gautam1858/tensorflow,kevin-coder/tensorflow-fork,gautam1858/tensorflow,DavidNorman/tensorflow,alsrgv/tensorflow,Intel-tensorflow/tensorflow,yongtang/tensorflow,theflofly/tensorflow,jhseu/tensorflow,cxxgtxy/tensorflow,gautam1858/tensorflow,kevin-coder/tensorflow-fork,alsrgv/tensorflow,annarev/tensorflow,theflofly/tensorflow,jbedorf/tensorflow,tensorflow/tensorflow-pywrap_saved_model,renyi533/tensorflow,xzturn/tensorflow,kevin-coder/tensorflow-fork,adit-chandra/tensorflow,ghchinoy/tensorflow,frreiss/tensorflow-fred,ghchinoy/tensorflow,davidzchen/tensorflow,jhseu/tensorflow,cxxgtxy/tensorflow,renyi533/tensorflow,ghchinoy/tensorflow,arborh/tensorflow,aldian/tensorflow,frreiss/tensorflow-fred,davidzchen/tensorflow,paolodedios/tensorflow,chemelnucfin/tensorflow,petewarden/tensorflow,jhseu/tensorflow,annarev/tensorflow,ppwwyyxx/tensorflow,alsrgv/tensorflow,freedomtan/tensorflow,Intel-tensorflow/tensorflow,frreiss/tensorflow-fred,petewarden/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_saved_model,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,aldian/tensorflow,paolodedios/tensorflow,DavidNorman/tensorflow,kevin-coder/tensorflow-fork,ppwwyyxx/tensorflow,renyi533/tensorflow,adit-chandra/tensorflow,freedomtan/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,kevin-coder/tensorflow-fork,yongtang/tensorflow,jbedorf/tensorflow,davidzchen/tensorflow,chemelnucfin/tensorflow,ageron/tensorflow,kevin-coder/tensorflow-fork,DavidNorman/tensorflow,Intel-Corporation/tensorflow,sarvex/tensorflow,jendap/tensorflow,jbedorf/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,theflofly/tensorflow,jendap/tensorflow,chemelnucfin/tensorflow,xzturn/tensorflow,adit-chandra/tensorflow,chemelnucfin/tensorflow,cxxgtxy/tensorflow,paolodedios/tensorflow,theflofly/tensorflow,ageron/tensorflow,jendap/tensorflow,ppwwyyxx/tensorflow,arborh/tensorflow,renyi533/tensorflow,aam-at/tensorflow,paolodedios/tensorflow,ageron/tensorflow,tensorflow/tensorflow,renyi533/tensorflow,renyi533/tensorflow,petewarden/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ageron/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_saved_model,gunan/tensorflow,gunan/tensorflow,davidzchen/tensorflow,paolodedios/tensorflow