[PATCH] D28532: Revert rL291205 because it breaks Chrome tests under CFI.

Ivan Krasin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 10 14:03:19 PST 2017


krasin created this revision.
krasin added a reviewer: pcc.
krasin added a subscriber: llvm-commits.
Herald added a subscriber: mehdi_amini.

Revert LowerTypeTests: Split the pass in two: a resolution phase and a lowering phase.

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.

Original URL: https://reviews.llvm.org/D28341


https://reviews.llvm.org/D28532

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28532.83866.patch
Type: text/x-patch
Size: 21507 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170110/011940ce/attachment.bin>


More information about the llvm-commits mailing list