Mostly trivial patch adding support for compares. The meat of the work was added with the branch support. llvm-svn: 189639