Fixed a couple bugs in specialize_branched_loops. First, added a bailout to normalize_selects when a select is encountered in the condition of another select. Alsom reverted how let nodes are visited to old method rather than relying totally on branch_children. This lets the value get branched first and then the appropriate modified value is used when branching the body, which turns out to be really important for some of the most interesting cases.
Fixed a couple bugs in specialize_branched_loops. First, added a bailout to normalize_selects when a select is encountered in the condition of another select. Alsom reverted how let nodes are visited to old method rather than relying totally on branch_children. This lets the value get branched first and then the appropriate modified value is used when branching the body, which turns out to be really important for some of the most interesting cases.

adasworks/Halide,myrtleTree33/Halide,dan-tull/Halide,mcanthony/Halide,dan-tull/Halide,kgnk/Halide,smxlong/Halide,dan-tull/Halide,psuriana/Halide,delcypher/Halide,aam/Halide,dan-tull/Halide,jiawen/Halide,lglucin/Halide,kgnk/Halide,gchauras/Halide,damienfir/Halide,aam/Halide,lglucin/Halide,psuriana/Halide,lglucin/Halide,mcanthony/Halide,mcanthony/Halide,adasworks/Halide,fengzhyuan/Halide,tdenniston/Halide,delcypher/Halide,lglucin/Halide,tdenniston/Halide,damienfir/Halide,smxlong/Halide,kenkuang1213/Halide,kenkuang1213/Halide,fengzhyuan/Halide,mcanthony/Halide,adasworks/Halide,tdenniston/Halide,myrtleTree33/Halide,kgnk/Halide,aam/Halide,damienfir/Halide,psuriana/Halide,dougkwan/Halide,ronen/Halide,rodrigob/Halide,jiawen/Halide,dougkwan/Halide,myrtleTree33/Halide,myrtleTree33/Halide,jiawen/Halide,damienfir/Halide,ronen/Halide,ronen/Halide,tdenniston/Halide,ayanazmat/Halide,dougkwan/Halide,smxlong/Halide,fengzhyuan/Halide,jiawen/Halide,myrtleTree33/Halide,kgnk/Halide,rodrigob/Halide,jiawen/Halide,rodrigob/Halide,fengzhyuan/Halide,tdenniston/Halide,mcanthony/Halide,aam/Halide,aam/Halide,fengzhyuan/Halide,mcanthony/Halide,ronen/Halide,delcypher/Halide,adasworks/Halide,tdenniston/Halide,fengzhyuan/Halide,jiawen/Halide,delcypher/Halide,ayanazmat/Halide,smxlong/Halide,dougkwan/Halide,kenkuang1213/Halide,dan-tull/Halide,kenkuang1213/Halide,lglucin/Halide,kgnk/Halide,myrtleTree33/Halide,dan-tull/Halide,ayanazmat/Halide,mcanthony/Halide,fengzhyuan/Halide,gchauras/Halide,gchauras/Halide,kgnk/Halide,dan-tull/Halide,delcypher/Halide,damienfir/Halide,psuriana/Halide,mcanthony/Halide,ronen/Halide,kgnk/Halide,kenkuang1213/Halide,dougkwan/Halide,gchauras/Halide,rodrigob/Halide,tdenniston/Halide,dan-tull/Halide,ronen/Halide,ronen/Halide,delcypher/Halide,damienfir/Halide,tdenniston/Halide,smxlong/Halide,rodrigob/Halide,delcypher/Halide,gchauras/Halide,delcypher/Halide,adasworks/Halide,lglucin/Halide,adasworks/Halide,myrtleTree33/Halide,ayanazmat/Halide,lglucin/Halide,ronen/Halide,rodrigob/Halide,dougkwan/Halide,aam/Halide,psuriana/Halide,kenkuang1213/Halide,psuriana/Halide,dougkwan/Halide,smxlong/Halide,dougkwan/Halide,ayanazmat/Halide,fengzhyuan/Halide,adasworks/Halide,myrtleTree33/Halide,ayanazmat/Halide,kgnk/Halide,aam/Halide,gchauras/Halide,psuriana/Halide,adasworks/Halide,smxlong/Halide,damienfir/Halide,ayanazmat/Halide,jiawen/Halide,kenkuang1213/Halide,rodrigob/Halide,kenkuang1213/Halide,damienfir/Halide,smxlong/Halide,ayanazmat/Halide,rodrigob/Halide