[PATCH] D28341: LowerTypeTests: Split the pass in two: a resolution phase and a lowering phase.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 4 20:13:22 PST 2017


pcc created this revision.
pcc added a reviewer: eugenis.
pcc added subscribers: llvm-commits, mehdi_amini.

This change separates how type identifiers are resolved from how intrinsic
calls are lowered. All information required to lower an intrinsic call
is stored in a new TypeIdLowering data structure. The idea is that this
data structure can either be initialized using the module itself during
regular LTO, or using the module summary in ThinLTO backends.


https://reviews.llvm.org/D28341

Files:
  llvm/include/llvm/Transforms/IPO/LowerTypeTests.h
  llvm/lib/Transforms/IPO/LowerTypeTests.cpp
  llvm/test/Transforms/LowerTypeTests/function-disjoint.ll
  llvm/test/Transforms/LowerTypeTests/function-ext.ll
  llvm/test/Transforms/LowerTypeTests/function.ll
  llvm/test/Transforms/LowerTypeTests/import-unsat.ll
  llvm/test/Transforms/LowerTypeTests/simple.ll
  llvm/test/Transforms/LowerTypeTests/single-offset.ll
  llvm/test/Transforms/LowerTypeTests/unsat.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28341.83187.patch
Type: text/x-patch
Size: 21644 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170105/003803fd/attachment.bin>


More information about the llvm-commits mailing list