Commits
Chris Lattner committed 5b98c5086ce
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