[PATCH] D35040: [IR] Implement Constant::isNegativeZeroValue/isZeroValue/isAllOnesValue/isOneValue/isMinSignedValue for ConstantDataVector without going through getElementAsConstant

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 08:52:17 PDT 2017


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

Add getElementAsAPInt.


https://reviews.llvm.org/D35040

Files:
  include/llvm/IR/Constants.h
  lib/IR/Constants.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35040.106038.patch
Type: text/x-patch
Size: 6607 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170711/525bd0fb/attachment.bin>


More information about the llvm-commits mailing list