[PATCH] D86578: [TargetLowering] Combine known bits for icmp in SimplifySetCC - https://bugs.llvm.org/ show_bug.cgi?id=41182

Matt D'Arcangelo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 25 16:03:43 PDT 2020


darcangelo.matthew updated this revision to Diff 287792.
darcangelo.matthew added a comment.

Removed the Signed argument from getMinValue


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86578/new/

https://reviews.llvm.org/D86578

Files:
  llvm/include/llvm/Support/KnownBits.h


Index: llvm/include/llvm/Support/KnownBits.h
===================================================================
--- llvm/include/llvm/Support/KnownBits.h
+++ llvm/include/llvm/Support/KnownBits.h
@@ -111,7 +111,7 @@
   }
 
   /// Return the minimal value possible given these KnownBits.
-  APInt getMinValue(bool Signed = false) const {
+  APInt getMinValue() const {
     // Assume that all bits that aren't known-ones are zeros.
     return One;
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86578.287792.patch
Type: text/x-patch
Size: 454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200825/9cd472d0/attachment.bin>


More information about the llvm-commits mailing list