[PATCH] D28421: LowerTypeTests: Represent the memory region size with the constant size-1.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 6 16:28:50 PST 2017


pcc created this revision.
pcc added a reviewer: eugenis.
pcc added a subscriber: llvm-commits.

This means that we can use a shorter instruction sequence in the case where
the size is a power of two and on the boundary between two representations.


https://reviews.llvm.org/D28421

Files:
  llvm/include/llvm/IR/ModuleSummaryIndex.h
  llvm/include/llvm/IR/ModuleSummaryIndexYAML.h
  llvm/lib/Transforms/IPO/LowerTypeTests.cpp
  llvm/test/Transforms/LowerTypeTests/Inputs/import-unsat.yaml
  llvm/test/Transforms/LowerTypeTests/function.ll
  llvm/test/Transforms/LowerTypeTests/import-unsat.ll
  llvm/test/Transforms/LowerTypeTests/simple.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28421.83460.patch
Type: text/x-patch
Size: 7149 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170107/51806110/attachment.bin>


More information about the llvm-commits mailing list