[all-commits] [llvm/llvm-project] 5d940b: Reapply "SROA: Enhance speculateSelectInstLoads"

Christudasan Devadasan via All-commits all-commits at lists.llvm.org
Wed Aug 11 20:07:16 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d940b71ae71534ab4b84285b5293dd62d4d5b35
      https://github.com/llvm/llvm-project/commit/5d940b71ae71534ab4b84285b5293dd62d4d5b35
  Author: Christudasan Devadasan <Christudasan.Devadasan at amd.com>
  Date:   2021-08-11 (Wed, 11 Aug 2021)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SROA.cpp
    M llvm/test/Transforms/SROA/phi-and-select.ll
    A llvm/test/Transforms/SROA/select-load.ll

  Log Message:
  -----------
  Reapply "SROA: Enhance speculateSelectInstLoads"

Originally committed as ffc3fb665d0a0dccd64cc8c803ad8cc1a0d5dfa1
Reverted in fcf2d5f40296be4e0f0e954001beb7814f97a212 due to an
assertion failure.

Original commit message:

Allow the folding even if there is an
intervening bitcast.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D106667




More information about the All-commits mailing list