[all-commits] [llvm/llvm-project] 099bff: Revert "[CodeExtractor] Don't create bitcasts when...

Vedant Kumar via All-commits all-commits at lists.llvm.org
Thu Oct 22 12:26:18 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 099bffe7f7df41d66195ce33e91888a4a16c6b4a
      https://github.com/llvm/llvm-project/commit/099bffe7f7df41d66195ce33e91888a4a16c6b4a
  Author: Vedant Kumar <vsk at apple.com>
  Date:   2020-10-22 (Thu, 22 Oct 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/CodeExtractor.cpp
    M llvm/test/Transforms/CodeExtractor/PartialInlineInvokeProducesOutVal.ll
    M llvm/test/Transforms/HotColdSplit/lifetime-markers-on-inputs-1.ll
    M llvm/test/Transforms/HotColdSplit/lifetime-markers-on-inputs-2.ll
    M llvm/test/Transforms/HotColdSplit/split-phis-in-exit-blocks.ll

  Log Message:
  -----------
  Revert "[CodeExtractor] Don't create bitcasts when inserting lifetime markers (NFCI)"

This reverts commit 26ee8aff2b85ee28a2b2d0b1860d878b512fbdef.

It's necessary to insert bitcast the pointer operand of a lifetime
marker if it has an opaque pointer type.

rdar://70560161


  Commit: da27bebb234641dc248ae1b4972c4070c498dec8
      https://github.com/llvm/llvm-project/commit/da27bebb234641dc248ae1b4972c4070c498dec8
  Author: Vedant Kumar <vsk at apple.com>
  Date:   2020-10-22 (Thu, 22 Oct 2020)

  Changed paths:
    A llvm/test/Transforms/HotColdSplit/lifetime-markers-on-inputs-3.ll

  Log Message:
  -----------
  [test] HotColdSplit: cover use of opaque pointer type

Add a test to cover the case where an extracted block contains a
lifetime marker for a pointer with an opaque type.


Compare: https://github.com/llvm/llvm-project/compare/36ce915ac54a...da27bebb2346


More information about the All-commits mailing list