[PATCH] D12958: Refactor computeKnownBits alignment handling code

Artur Pilipenko via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 11:26:24 PDT 2015


apilipenko updated this revision to Diff 35745.
apilipenko added a comment.

Introduce new function getAlignemnt(Value*). I'm going to use this function from isAligned as well.

Alignment related code in computeKnownBits is moved below the computeKnownBitsFromOperator call.


http://reviews.llvm.org/D12958

Files:
  lib/Analysis/ValueTracking.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12958.35745.patch
Type: text/x-patch
Size: 4176 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150925/46be3276/attachment.bin>


More information about the llvm-commits mailing list