[PATCH] D32339: [APInt] Add compare/compareSigned methods that return -1, 0, 1. Reimplement slt/ult and friends using them

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 20 23:46:44 PDT 2017


craig.topper updated this revision to Diff 96102.
craig.topper added a comment.

Just use tcCompare to implement the slow case compare code.


https://reviews.llvm.org/D32339

Files:
  include/llvm/ADT/APInt.h
  lib/Support/APInt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32339.96102.patch
Type: text/x-patch
Size: 4813 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170421/a9fbb89a/attachment.bin>


More information about the llvm-commits mailing list