Implement all the integer comparison operators in swift.swift.  Despite the indirection, each of these compiles into nice simple IR at -O3, with:  swift swift.swift -I test -emit-llvm | opt -O3 -S | less
Implement all the integer comparison operators in swift.swift.  Despite
the indirection, each of these compiles into nice simple IR at -O3, with:
 swift swift.swift -I test -emit-llvm | opt -O3 -S | less

for example:

define i1 @_TSsop1gFT3lhsNSs5int643rhsS__NSs4bool(i64, i64) nounwind readnone {
entry:
  %2 = icmp sgt i64 %0, %1
  ret i1 %2
}



Swift SVN r1125

calebd/swift,jtbandes/swift,arvedviehweger/swift,swiftix/swift.old,SwiftAndroid/swift,harlanhaskins/swift,stephentyrone/swift,jopamer/swift,khizkhiz/swift,nathawes/swift,milseman/swift,atrick/swift,dduan/swift,kstaring/swift,sschiau/swift,codestergit/swift,lorentey/swift,OscarSwanros/swift,gribozavr/swift,ahoppen/swift,huonw/swift,kusl/swift,gottesmm/swift,nathawes/swift,natecook1000/swift,gribozavr/swift,slavapestov/swift,shajrawi/swift,danielmartin/swift,shahmishal/swift,Ivacker/swift,cbrentharris/swift,Ivacker/swift,nathawes/swift,xedin/swift,brentdax/swift,JaSpa/swift,emilstahl/swift,Jnosh/swift,apple/swift,ken0nek/swift,djwbrown/swift,natecook1000/swift,kperryua/swift,russbishop/swift,slavapestov/swift,adrfer/swift,arvedviehweger/swift,emilstahl/swift,alblue/swift,LeoShimonaka/swift,swiftix/swift.old,gribozavr/swift,lorentey/swift,khizkhiz/swift,dduan/swift,manavgabhawala/swift,rudkx/swift,CodaFi/swift,return/swift,xedin/swift,SwiftAndroid/swift,stephentyrone/swift,MukeshKumarS/Swift,ben-ng/swift,tkremenek/swift,modocache/swift,shajrawi/swift,zisko/swift,johnno1962d/swift,milseman/swift,amraboelela/swift,kusl/swift,felix91gr/swift,airspeedswift/swift,MukeshKumarS/Swift,CodaFi/swift,amraboelela/swift,KrishMunot/swift,danielmartin/swift,stephentyrone/swift,tinysun212/swift-windows,Jnosh/swift,xwu/swift,hughbe/swift,jopamer/swift,MukeshKumarS/Swift,kperryua/swift,jopamer/swift,gmilos/swift,kentya6/swift,OscarSwanros/swift,emilstahl/swift,JaSpa/swift,mightydeveloper/swift,IngmarStein/swift,emilstahl/swift,nathawes/swift,gribozavr/swift,LeoShimonaka/swift,practicalswift/swift,arvedviehweger/swift,roambotics/swift,gregomni/swift,benlangmuir/swift,shahmishal/swift,swiftix/swift,therealbnut/swift,bitjammer/swift,gregomni/swift,glessard/swift,amraboelela/swift,Jnosh/swift,jtbandes/swift,karwa/swift,emilstahl/swift,kperryua/swift,austinzheng/swift,devincoughlin/swift,atrick/swift,devincoughlin/swift,aschwaighofer/swift,russbishop/swift,zisko/swift,rudkx/swift,slavapestov/swift,cbrentharris/swift,dduan/swift,roambotics/swift,tardieu/swift,kentya6/swift,kentya6/swift,cbrentharris/swift,johnno1962d/swift,gribozavr/swift,gribozavr/swift,kusl/swift,return/swift,gottesmm/swift,shahmishal/swift,natecook1000/swift,calebd/swift,emilstahl/swift,swiftix/swift.old,parkera/swift,LeoShimonaka/swift,danielmartin/swift,deyton/swift,ken0nek/swift,rudkx/swift,karwa/swift,uasys/swift,jtbandes/swift,therealbnut/swift,therealbnut/swift,uasys/swift,hughbe/swift,Jnosh/swift,shahmishal/swift,jtbandes/swift,ken0nek/swift,codestergit/swift,sdulal/swift,bitjammer/swift,CodaFi/swift,johnno1962d/swift,codestergit/swift,jtbandes/swift,codestergit/swift,dduan/swift,jmgc/swift,slavapestov/swift,jckarter/swift,gribozavr/swift,amraboelela/swift,harlanhaskins/swift,KrishMunot/swift,swiftix/swift.old,alblue/swift,devincoughlin/swift,JGiola/swift,jopamer/swift,IngmarStein/swift,danielmartin/swift,frootloops/swift,gregomni/swift,danielmartin/swift,lorentey/swift,ben-ng/swift,kentya6/swift,xedin/swift,khizkhiz/swift,lorentey/swift,airspeedswift/swift,MukeshKumarS/Swift,felix91gr/swift,natecook1000/swift,stephentyrone/swift,Jnosh/swift,codestergit/swift,russbishop/swift,gottesmm/swift,Ivacker/swift,IngmarStein/swift,allevato/swift,mightydeveloper/swift,shajrawi/swift,roambotics/swift,felix91gr/swift,jopamer/swift,uasys/swift,stephentyrone/swift,ahoppen/swift,natecook1000/swift,khizkhiz/swift,parkera/swift,austinzheng/swift,gmilos/swift,bitjammer/swift,milseman/swift,mightydeveloper/swift,hughbe/swift,huonw/swift,kstaring/swift,xedin/swift,JaSpa/swift,sschiau/swift,sschiau/swift,return/swift,ken0nek/swift,jmgc/swift,ben-ng/swift,hooman/swift,allevato/swift,jmgc/swift,swiftix/swift.old,LeoShimonaka/swift,tkremenek/swift,sdulal/swift,therealbnut/swift,xedin/swift,return/swift,kperryua/swift,milseman/swift,IngmarStein/swift,Ivacker/swift,shahmishal/swift,karwa/swift,roambotics/swift,kentya6/swift,gmilos/swift,gottesmm/swift,glessard/swift,Jnosh/swift,kusl/swift,practicalswift/swift,kstaring/swift,rudkx/swift,OscarSwanros/swift,nathawes/swift,kentya6/swift,austinzheng/swift,alblue/swift,LeoShimonaka/swift,frootloops/swift,tinysun212/swift-windows,felix91gr/swift,codestergit/swift,zisko/swift,dduan/swift,djwbrown/swift,jckarter/swift,djwbrown/swift,shajrawi/swift,djwbrown/swift,swiftix/swift,parkera/swift,calebd/swift,mightydeveloper/swift,gmilos/swift,danielmartin/swift,parkera/swift,atrick/swift,shajrawi/swift,shajrawi/swift,hughbe/swift,kusl/swift,aschwaighofer/swift,dreamsxin/swift,devincoughlin/swift,SwiftAndroid/swift,glessard/swift,uasys/swift,sdulal/swift,tjw/swift,frootloops/swift,SwiftAndroid/swift,LeoShimonaka/swift,JGiola/swift,gottesmm/swift,benlangmuir/swift,dreamsxin/swift,swiftix/swift,CodaFi/swift,khizkhiz/swift,modocache/swift,tinysun212/swift-windows,natecook1000/swift,stephentyrone/swift,cbrentharris/swift,hughbe/swift,tardieu/swift,KrishMunot/swift,manavgabhawala/swift,Ivacker/swift,lorentey/swift,ken0nek/swift,alblue/swift,apple/swift,ahoppen/swift,russbishop/swift,deyton/swift,tkremenek/swift,apple/swift,jckarter/swift,tinysun212/swift-windows,sschiau/swift,atrick/swift,atrick/swift,milseman/swift,xwu/swift,xedin/swift,huonw/swift,tkremenek/swift,deyton/swift,slavapestov/swift,KrishMunot/swift,xwu/swift,tardieu/swift,arvedviehweger/swift,tardieu/swift,LeoShimonaka/swift,glessard/swift,shajrawi/swift,felix91gr/swift,natecook1000/swift,practicalswift/swift,airspeedswift/swift,manavgabhawala/swift,austinzheng/swift,parkera/swift,harlanhaskins/swift,xwu/swift,russbishop/swift,mightydeveloper/swift,allevato/swift,xwu/swift,cbrentharris/swift,KrishMunot/swift,kusl/swift,Ivacker/swift,benlangmuir/swift,karwa/swift,deyton/swift,gregomni/swift,jmgc/swift,austinzheng/swift,tardieu/swift,benlangmuir/swift,deyton/swift,practicalswift/swift,sdulal/swift,sdulal/swift,tjw/swift,deyton/swift,zisko/swift,jckarter/swift,kusl/swift,ahoppen/swift,kperryua/swift,hooman/swift,kperryua/swift,djwbrown/swift,apple/swift,LeoShimonaka/swift,OscarSwanros/swift,uasys/swift,MukeshKumarS/Swift,aschwaighofer/swift,huonw/swift,codestergit/swift,xwu/swift,dduan/swift,calebd/swift,KrishMunot/swift,parkera/swift,jmgc/swift,frootloops/swift,JaSpa/swift,gregomni/swift,karwa/swift,deyton/swift,djwbrown/swift,lorentey/swift,allevato/swift,amraboelela/swift,glessard/swift,khizkhiz/swift,tinysun212/swift-windows,rudkx/swift,sdulal/swift,return/swift,SwiftAndroid/swift,adrfer/swift,mightydeveloper/swift,kstaring/swift,cbrentharris/swift,allevato/swift,bitjammer/swift,tkremenek/swift,bitjammer/swift,modocache/swift,jtbandes/swift,milseman/swift,devincoughlin/swift,modocache/swift,hughbe/swift,brentdax/swift,tkremenek/swift,emilstahl/swift,modocache/swift,manavgabhawala/swift,devincoughlin/swift,frootloops/swift,practicalswift/swift,KrishMunot/swift,amraboelela/swift,Ivacker/swift,manavgabhawala/swift,karwa/swift,devincoughlin/swift,CodaFi/swift,airspeedswift/swift,IngmarStein/swift,adrfer/swift,MukeshKumarS/Swift,IngmarStein/swift,therealbnut/swift,kstaring/swift,parkera/swift,apple/swift,austinzheng/swift,gottesmm/swift,shajrawi/swift,karwa/swift,aschwaighofer/swift,allevato/swift,ben-ng/swift,sschiau/swift,benlangmuir/swift,JGiola/swift,adrfer/swift,JGiola/swift,jmgc/swift,SwiftAndroid/swift,swiftix/swift,SwiftAndroid/swift,ken0nek/swift,therealbnut/swift,hooman/swift,airspeedswift/swift,huonw/swift,harlanhaskins/swift,arvedviehweger/swift,stephentyrone/swift,tinysun212/swift-windows,airspeedswift/swift,gmilos/swift,sschiau/swift,jmgc/swift,modocache/swift,arvedviehweger/swift,allevato/swift,tjw/swift,jtbandes/swift,gmilos/swift,tjw/swift,therealbnut/swift,bitjammer/swift,lorentey/swift,zisko/swift,slavapestov/swift,lorentey/swift,johnno1962d/swift,ahoppen/swift,practicalswift/swift,emilstahl/swift,ken0nek/swift,alblue/swift,harlanhaskins/swift,adrfer/swift,MukeshKumarS/Swift,practicalswift/swift,kentya6/swift,apple/swift,cbrentharris/swift,felix91gr/swift,manavgabhawala/swift,milseman/swift,JaSpa/swift,devincoughlin/swift,khizkhiz/swift,CodaFi/swift,benlangmuir/swift,hooman/swift,practicalswift/swift,djwbrown/swift,aschwaighofer/swift,gottesmm/swift,huonw/swift,bitjammer/swift,kperryua/swift,ben-ng/swift,tardieu/swift,slavapestov/swift,sschiau/swift,nathawes/swift,sdulal/swift,CodaFi/swift,aschwaighofer/swift,IngmarStein/swift,tjw/swift,airspeedswift/swift,parkera/swift,hooman/swift,jckarter/swift,swiftix/swift,danielmartin/swift,modocache/swift,zisko/swift,xedin/swift,kstaring/swift,shahmishal/swift,frootloops/swift,JGiola/swift,tardieu/swift,gregomni/swift,hooman/swift,roambotics/swift,swiftix/swift.old,calebd/swift,mightydeveloper/swift,huonw/swift,tjw/swift,adrfer/swift,russbishop/swift,sdulal/swift,kentya6/swift,jopamer/swift,jckarter/swift,johnno1962d/swift,kstaring/swift,Jnosh/swift,hughbe/swift,jckarter/swift,JaSpa/swift,felix91gr/swift,brentdax/swift,shahmishal/swift,brentdax/swift,OscarSwanros/swift,zisko/swift,brentdax/swift,uasys/swift,adrfer/swift,ben-ng/swift,shahmishal/swift,karwa/swift,tkremenek/swift,hooman/swift,johnno1962d/swift,tinysun212/swift-windows,ahoppen/swift,frootloops/swift,kusl/swift,rudkx/swift,swiftix/swift,tjw/swift,austinzheng/swift,harlanhaskins/swift,atrick/swift,JGiola/swift,glessard/swift,calebd/swift,swiftix/swift,xedin/swift,sschiau/swift,amraboelela/swift,brentdax/swift,return/swift,brentdax/swift,calebd/swift,gribozavr/swift,gmilos/swift,alblue/swift,ben-ng/swift,swiftix/swift.old,johnno1962d/swift,dduan/swift,JaSpa/swift,return/swift,russbishop/swift,alblue/swift,roambotics/swift,xwu/swift,mightydeveloper/swift,OscarSwanros/swift,swiftix/swift.old,jopamer/swift,cbrentharris/swift,manavgabhawala/swift,aschwaighofer/swift,OscarSwanros/swift,arvedviehweger/swift,Ivacker/swift,uasys/swift,harlanhaskins/swift,nathawes/swift