Error out when building XLA's CPU and GPU backends with fast-math
Error out when building XLA's CPU and GPU backends with fast-math

In an ideal world this won't make a difference since the compiler should be
disciplined about not leaking host-level optimization artifacts into generated
code.  However, I think this provides some defense-in-depth in preventing
fast-math optimization on the host side from messing up floating point constants
etc. we want to embed into generated code.

PiperOrigin-RevId: 185941549

alsrgv/tensorflow,DavidNorman/tensorflow,dendisuhubdy/tensorflow,brchiu/tensorflow,dendisuhubdy/tensorflow,jendap/tensorflow,aldian/tensorflow,aselle/tensorflow,yongtang/tensorflow,allenlavoie/tensorflow,aselle/tensorflow,dancingdan/tensorflow,ppwwyyxx/tensorflow,frreiss/tensorflow-fred,eaplatanios/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,drpngx/tensorflow,aam-at/tensorflow,Intel-Corporation/tensorflow,girving/tensorflow,ppwwyyxx/tensorflow,lukeiwanski/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,DavidNorman/tensorflow,dendisuhubdy/tensorflow,kobejean/tensorflow,xodus7/tensorflow,manipopopo/tensorflow,gunan/tensorflow,alsrgv/tensorflow,kevin-coder/tensorflow-fork,adit-chandra/tensorflow,davidzchen/tensorflow,kevin-coder/tensorflow-fork,annarev/tensorflow,asimshankar/tensorflow,jalexvig/tensorflow,jhseu/tensorflow,frreiss/tensorflow-fred,manipopopo/tensorflow,DavidNorman/tensorflow,nburn42/tensorflow,freedomtan/tensorflow,annarev/tensorflow,benoitsteiner/tensorflow-xsmm,aselle/tensorflow,snnn/tensorflow,yongtang/tensorflow,tensorflow/tensorflow,jendap/tensorflow,petewarden/tensorflow,renyi533/tensorflow,xzturn/tensorflow,petewarden/tensorflow,AnishShah/tensorflow,yongtang/tensorflow,paolodedios/tensorflow,aselle/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_saved_model,DavidNorman/tensorflow,DavidNorman/tensorflow,sarvex/tensorflow,dongjoon-hyun/tensorflow,jbedorf/tensorflow,Xeralux/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,sarvex/tensorflow,jendap/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-tensorflow/tensorflow,dongjoon-hyun/tensorflow,davidzchen/tensorflow,hfp/tensorflow-xsmm,dancingdan/tensorflow,caisq/tensorflow,jendap/tensorflow,Xeralux/tensorflow,chemelnucfin/tensorflow,chemelnucfin/tensorflow,nburn42/tensorflow,hehongliang/tensorflow,jalexvig/tensorflow,alshedivat/tensorflow,jbedorf/tensorflow,manipopopo/tensorflow,DavidNorman/tensorflow,gojira/tensorflow,paolodedios/tensorflow,theflofly/tensorflow,xzturn/tensorflow,allenlavoie/tensorflow,Bismarrck/tensorflow,paolodedios/tensorflow,girving/tensorflow,dongjoon-hyun/tensorflow,gautam1858/tensorflow,nburn42/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-Corporation/tensorflow,annarev/tensorflow,dendisuhubdy/tensorflow,tensorflow/tensorflow,aam-at/tensorflow,arborh/tensorflow,AnishShah/tensorflow,caisq/tensorflow,manipopopo/tensorflow,kevin-coder/tensorflow-fork,gautam1858/tensorflow,lukeiwanski/tensorflow,asimshankar/tensorflow,snnn/tensorflow,alshedivat/tensorflow,cxxgtxy/tensorflow,asimshankar/tensorflow,jhseu/tensorflow,seanli9jan/tensorflow,dongjoon-hyun/tensorflow,eaplatanios/tensorflow,ZhangXinNan/tensorflow,karllessard/tensorflow,caisq/tensorflow,eaplatanios/tensorflow,aselle/tensorflow,frreiss/tensorflow-fred,arborh/tensorflow,hehongliang/tensorflow,apark263/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,lukeiwanski/tensorflow,meteorcloudy/tensorflow,petewarden/tensorflow,tensorflow/tensorflow,nburn42/tensorflow,zasdfgbnm/tensorflow,frreiss/tensorflow-fred,drpngx/tensorflow,arborh/tensorflow,renyi533/tensorflow,davidzchen/tensorflow,paolodedios/tensorflow,alsrgv/tensorflow,sarvex/tensorflow,aselle/tensorflow,yongtang/tensorflow,yanchen036/tensorflow,xzturn/tensorflow,ZhangXinNan/tensorflow,ppwwyyxx/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,alshedivat/tensorflow,benoitsteiner/tensorflow-xsmm,davidzchen/tensorflow,Intel-Corporation/tensorflow,jbedorf/tensorflow,karllessard/tensorflow,davidzchen/tensorflow,arborh/tensorflow,tensorflow/tensorflow-pywrap_saved_model,petewarden/tensorflow,seanli9jan/tensorflow,jhseu/tensorflow,caisq/tensorflow,hfp/tensorflow-xsmm,annarev/tensorflow,apark263/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,manipopopo/tensorflow,dancingdan/tensorflow,benoitsteiner/tensorflow-xsmm,dendisuhubdy/tensorflow,jendap/tensorflow,apark263/tensorflow,chemelnucfin/tensorflow,davidzchen/tensorflow,hfp/tensorflow-xsmm,davidzchen/tensorflow,kobejean/tensorflow,Xeralux/tensorflow,karllessard/tensorflow,jalexvig/tensorflow,gautam1858/tensorflow,AnishShah/tensorflow,Intel-tensorflow/tensorflow,xodus7/tensorflow,adit-chandra/tensorflow,asimshankar/tensorflow,Intel-Corporation/tensorflow,jalexvig/tensorflow,jhseu/tensorflow,jalexvig/tensorflow,yanchen036/tensorflow,alshedivat/tensorflow,theflofly/tensorflow,dancingdan/tensorflow,gojira/tensorflow,davidzchen/tensorflow,renyi533/tensorflow,jbedorf/tensorflow,ghchinoy/tensorflow,kevin-coder/tensorflow-fork,hfp/tensorflow-xsmm,xodus7/tensorflow,benoitsteiner/tensorflow-xsmm,paolodedios/tensorflow,frreiss/tensorflow-fred,ZhangXinNan/tensorflow,frreiss/tensorflow-fred,jalexvig/tensorflow,lukeiwanski/tensorflow,benoitsteiner/tensorflow-xsmm,Bismarrck/tensorflow,jart/tensorflow,jbedorf/tensorflow,gautam1858/tensorflow,jendap/tensorflow,zasdfgbnm/tensorflow,girving/tensorflow,AnishShah/tensorflow,aldian/tensorflow,alshedivat/tensorflow,ageron/tensorflow,girving/tensorflow,xzturn/tensorflow,lukeiwanski/tensorflow,jendap/tensorflow,alshedivat/tensorflow,yanchen036/tensorflow,alsrgv/tensorflow,benoitsteiner/tensorflow-xsmm,Bismarrck/tensorflow,Intel-Corporation/tensorflow,freedomtan/tensorflow,aldian/tensorflow,benoitsteiner/tensorflow-xsmm,DavidNorman/tensorflow,ghchinoy/tensorflow,jbedorf/tensorflow,kobejean/tensorflow,theflofly/tensorflow,freedomtan/tensorflow,gojira/tensorflow,dancingdan/tensorflow,allenlavoie/tensorflow,ghchinoy/tensorflow,ageron/tensorflow,adit-chandra/tensorflow,asimshankar/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow,cxxgtxy/tensorflow,girving/tensorflow,Intel-tensorflow/tensorflow,nburn42/tensorflow,aldian/tensorflow,tensorflow/tensorflow-pywrap_saved_model,paolodedios/tensorflow,allenlavoie/tensorflow,kobejean/tensorflow,xodus7/tensorflow,chemelnucfin/tensorflow,dancingdan/tensorflow,Xeralux/tensorflow,apark263/tensorflow,jalexvig/tensorflow,ghchinoy/tensorflow,AnishShah/tensorflow,apark263/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,ZhangXinNan/tensorflow,frreiss/tensorflow-fred,ppwwyyxx/tensorflow,Xeralux/tensorflow,ghchinoy/tensorflow,jbedorf/tensorflow,apark263/tensorflow,DavidNorman/tensorflow,jhseu/tensorflow,seanli9jan/tensorflow,zasdfgbnm/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,aam-at/tensorflow,seanli9jan/tensorflow,sarvex/tensorflow,brchiu/tensorflow,ZhangXinNan/tensorflow,freedomtan/tensorflow,kobejean/tensorflow,dancingdan/tensorflow,kobejean/tensorflow,seanli9jan/tensorflow,annarev/tensorflow,arborh/tensorflow,gojira/tensorflow,yongtang/tensorflow,ppwwyyxx/tensorflow,karllessard/tensorflow,eaplatanios/tensorflow,tensorflow/tensorflow,ghchinoy/tensorflow,kevin-coder/tensorflow-fork,ageron/tensorflow,hehongliang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,seanli9jan/tensorflow,jart/tensorflow,petewarden/tensorflow,sarvex/tensorflow,jart/tensorflow,Intel-Corporation/tensorflow,Bismarrck/tensorflow,seanli9jan/tensorflow,eaplatanios/tensorflow,zasdfgbnm/tensorflow,girving/tensorflow,theflofly/tensorflow,manipopopo/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,brchiu/tensorflow,jart/tensorflow,xodus7/tensorflow,Intel-tensorflow/tensorflow,snnn/tensorflow,aselle/tensorflow,davidzchen/tensorflow,alshedivat/tensorflow,brchiu/tensorflow,Xeralux/tensorflow,aam-at/tensorflow,Bismarrck/tensorflow,DavidNorman/tensorflow,gautam1858/tensorflow,drpngx/tensorflow,aam-at/tensorflow,snnn/tensorflow,gojira/tensorflow,lukeiwanski/tensorflow,aam-at/tensorflow,zasdfgbnm/tensorflow,jendap/tensorflow,Intel-tensorflow/tensorflow,manipopopo/tensorflow,ageron/tensorflow,caisq/tensorflow,kevin-coder/tensorflow-fork,gautam1858/tensorflow,ageron/tensorflow,yongtang/tensorflow,alsrgv/tensorflow,karllessard/tensorflow,ppwwyyxx/tensorflow,meteorcloudy/tensorflow,Bismarrck/tensorflow,dendisuhubdy/tensorflow,dancingdan/tensorflow,paolodedios/tensorflow,brchiu/tensorflow,ppwwyyxx/tensorflow,seanli9jan/tensorflow,jhseu/tensorflow,yongtang/tensorflow,apark263/tensorflow,gojira/tensorflow,dendisuhubdy/tensorflow,manipopopo/tensorflow,meteorcloudy/tensorflow,adit-chandra/tensorflow,sarvex/tensorflow,hfp/tensorflow-xsmm,paolodedios/tensorflow,ghchinoy/tensorflow,nburn42/tensorflow,hfp/tensorflow-xsmm,dongjoon-hyun/tensorflow,renyi533/tensorflow,yanchen036/tensorflow,gautam1858/tensorflow,Bismarrck/tensorflow,karllessard/tensorflow,gautam1858/tensorflow,xzturn/tensorflow,yanchen036/tensorflow,jendap/tensorflow,ZhangXinNan/tensorflow,AnishShah/tensorflow,frreiss/tensorflow-fred,dancingdan/tensorflow,annarev/tensorflow,cxxgtxy/tensorflow,xodus7/tensorflow,DavidNorman/tensorflow,ZhangXinNan/tensorflow,kobejean/tensorflow,gunan/tensorflow,Intel-tensorflow/tensorflow,aam-at/tensorflow,aam-at/tensorflow,dongjoon-hyun/tensorflow,theflofly/tensorflow,renyi533/tensorflow,adit-chandra/tensorflow,theflofly/tensorflow,drpngx/tensorflow,gunan/tensorflow,tensorflow/tensorflow,yanchen036/tensorflow,karllessard/tensorflow,cxxgtxy/tensorflow,dongjoon-hyun/tensorflow,drpngx/tensorflow,dancingdan/tensorflow,lukeiwanski/tensorflow,chemelnucfin/tensorflow,xzturn/tensorflow,ageron/tensorflow,arborh/tensorflow,hehongliang/tensorflow,arborh/tensorflow,gunan/tensorflow,dendisuhubdy/tensorflow,ageron/tensorflow,cxxgtxy/tensorflow,karllessard/tensorflow,yongtang/tensorflow,kevin-coder/tensorflow-fork,ppwwyyxx/tensorflow,hfp/tensorflow-xsmm,jhseu/tensorflow,yanchen036/tensorflow,jart/tensorflow,theflofly/tensorflow,aldian/tensorflow,zasdfgbnm/tensorflow,zasdfgbnm/tensorflow,nburn42/tensorflow,AnishShah/tensorflow,chemelnucfin/tensorflow,annarev/tensorflow,xzturn/tensorflow,petewarden/tensorflow,alsrgv/tensorflow,girving/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,jbedorf/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,benoitsteiner/tensorflow-xsmm,renyi533/tensorflow,chemelnucfin/tensorflow,ZhangXinNan/tensorflow,paolodedios/tensorflow,aldian/tensorflow,jalexvig/tensorflow,gojira/tensorflow,annarev/tensorflow,snnn/tensorflow,aselle/tensorflow,kobejean/tensorflow,theflofly/tensorflow,cxxgtxy/tensorflow,xodus7/tensorflow,asimshankar/tensorflow,lukeiwanski/tensorflow,meteorcloudy/tensorflow,theflofly/tensorflow,adit-chandra/tensorflow,xzturn/tensorflow,zasdfgbnm/tensorflow,dendisuhubdy/tensorflow,petewarden/tensorflow,apark263/tensorflow,Xeralux/tensorflow,snnn/tensorflow,ppwwyyxx/tensorflow,drpngx/tensorflow,freedomtan/tensorflow,kobejean/tensorflow,gunan/tensorflow,tensorflow/tensorflow,manipopopo/tensorflow,chemelnucfin/tensorflow,manipopopo/tensorflow,renyi533/tensorflow,jbedorf/tensorflow,gunan/tensorflow,jhseu/tensorflow,jart/tensorflow,allenlavoie/tensorflow,benoitsteiner/tensorflow-xsmm,gunan/tensorflow,freedomtan/tensorflow,hehongliang/tensorflow,adit-chandra/tensorflow,gojira/tensorflow,karllessard/tensorflow,xodus7/tensorflow,yongtang/tensorflow,kobejean/tensorflow,drpngx/tensorflow,karllessard/tensorflow,Xeralux/tensorflow,ppwwyyxx/tensorflow,caisq/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,girving/tensorflow,kevin-coder/tensorflow-fork,nburn42/tensorflow,Intel-tensorflow/tensorflow,davidzchen/tensorflow,Intel-tensorflow/tensorflow,girving/tensorflow,asimshankar/tensorflow,chemelnucfin/tensorflow,apark263/tensorflow,allenlavoie/tensorflow,seanli9jan/tensorflow,aam-at/tensorflow,gojira/tensorflow,AnishShah/tensorflow,adit-chandra/tensorflow,ghchinoy/tensorflow,jalexvig/tensorflow,kobejean/tensorflow,Bismarrck/tensorflow,meteorcloudy/tensorflow,eaplatanios/tensorflow,karllessard/tensorflow,eaplatanios/tensorflow,tensorflow/tensorflow,aselle/tensorflow,ghchinoy/tensorflow,renyi533/tensorflow,hfp/tensorflow-xsmm,brchiu/tensorflow,Bismarrck/tensorflow,alsrgv/tensorflow,allenlavoie/tensorflow,annarev/tensorflow,DavidNorman/tensorflow,jalexvig/tensorflow,jhseu/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,jart/tensorflow,ageron/tensorflow,drpngx/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,brchiu/tensorflow,snnn/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,asimshankar/tensorflow,arborh/tensorflow,theflofly/tensorflow,jbedorf/tensorflow,dongjoon-hyun/tensorflow,davidzchen/tensorflow,freedomtan/tensorflow,theflofly/tensorflow,ZhangXinNan/tensorflow,gojira/tensorflow,apark263/tensorflow,tensorflow/tensorflow-pywrap_saved_model,DavidNorman/tensorflow,ghchinoy/tensorflow,ghchinoy/tensorflow,lukeiwanski/tensorflow,lukeiwanski/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-pywrap_saved_model,kevin-coder/tensorflow-fork,sarvex/tensorflow,meteorcloudy/tensorflow,asimshankar/tensorflow,aldian/tensorflow,alshedivat/tensorflow,Xeralux/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_tf_optimizer,renyi533/tensorflow,kevin-coder/tensorflow-fork,paolodedios/tensorflow,eaplatanios/tensorflow,petewarden/tensorflow,aam-at/tensorflow,eaplatanios/tensorflow,Bismarrck/tensorflow,adit-chandra/tensorflow,allenlavoie/tensorflow,asimshankar/tensorflow,alshedivat/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Xeralux/tensorflow,ghchinoy/tensorflow,frreiss/tensorflow-fred,brchiu/tensorflow,renyi533/tensorflow,allenlavoie/tensorflow,jendap/tensorflow,Xeralux/tensorflow,aam-at/tensorflow,adit-chandra/tensorflow,brchiu/tensorflow,xzturn/tensorflow,freedomtan/tensorflow,yongtang/tensorflow,girving/tensorflow,caisq/tensorflow,gojira/tensorflow,dongjoon-hyun/tensorflow,girving/tensorflow,yanchen036/tensorflow,nburn42/tensorflow,jendap/tensorflow,cxxgtxy/tensorflow,ageron/tensorflow,meteorcloudy/tensorflow,chemelnucfin/tensorflow,zasdfgbnm/tensorflow,gunan/tensorflow,gunan/tensorflow,xzturn/tensorflow,gautam1858/tensorflow,davidzchen/tensorflow,renyi533/tensorflow,meteorcloudy/tensorflow,jart/tensorflow,tensorflow/tensorflow-pywrap_saved_model,snnn/tensorflow,hehongliang/tensorflow,AnishShah/tensorflow,hfp/tensorflow-xsmm,paolodedios/tensorflow,caisq/tensorflow,ZhangXinNan/tensorflow,Intel-tensorflow/tensorflow,nburn42/tensorflow,adit-chandra/tensorflow,gunan/tensorflow,dancingdan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,jbedorf/tensorflow,cxxgtxy/tensorflow,gunan/tensorflow,allenlavoie/tensorflow,brchiu/tensorflow,adit-chandra/tensorflow,alsrgv/tensorflow,annarev/tensorflow,alshedivat/tensorflow,xodus7/tensorflow,Intel-tensorflow/tensorflow,snnn/tensorflow,seanli9jan/tensorflow,ageron/tensorflow,gautam1858/tensorflow,alsrgv/tensorflow,aselle/tensorflow,ageron/tensorflow,ppwwyyxx/tensorflow,benoitsteiner/tensorflow-xsmm,jalexvig/tensorflow,caisq/tensorflow,snnn/tensorflow,hfp/tensorflow-xsmm,arborh/tensorflow,petewarden/tensorflow,hehongliang/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,kevin-coder/tensorflow-fork,petewarden/tensorflow,ppwwyyxx/tensorflow,allenlavoie/tensorflow,alsrgv/tensorflow,aldian/tensorflow,hfp/tensorflow-xsmm,Bismarrck/tensorflow,benoitsteiner/tensorflow-xsmm,xzturn/tensorflow,tensorflow/tensorflow,seanli9jan/tensorflow,drpngx/tensorflow,asimshankar/tensorflow,alshedivat/tensorflow,jbedorf/tensorflow,snnn/tensorflow,aselle/tensorflow,eaplatanios/tensorflow,AnishShah/tensorflow,xzturn/tensorflow,nburn42/tensorflow,Intel-tensorflow/tensorflow,frreiss/tensorflow-fred,dongjoon-hyun/tensorflow,arborh/tensorflow,freedomtan/tensorflow,petewarden/tensorflow,xodus7/tensorflow,drpngx/tensorflow,apark263/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,sarvex/tensorflow,eaplatanios/tensorflow,zasdfgbnm/tensorflow,renyi533/tensorflow,ZhangXinNan/tensorflow,AnishShah/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,caisq/tensorflow,manipopopo/tensorflow,petewarden/tensorflow,jart/tensorflow,jhseu/tensorflow,meteorcloudy/tensorflow,tensorflow/tensorflow-pywrap_saved_model,freedomtan/tensorflow,ageron/tensorflow,dendisuhubdy/tensorflow,brchiu/tensorflow,theflofly/tensorflow,gautam1858/tensorflow,xodus7/tensorflow,jart/tensorflow,Intel-Corporation/tensorflow,yongtang/tensorflow,arborh/tensorflow,alsrgv/tensorflow,arborh/tensorflow,zasdfgbnm/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,freedomtan/tensorflow,gunan/tensorflow,Intel-Corporation/tensorflow,meteorcloudy/tensorflow,chemelnucfin/tensorflow,dongjoon-hyun/tensorflow