[all-commits] [llvm/llvm-project] 2f8e37: [SROA] Unfold gep of index select (#80983)

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Feb 9 00:36:17 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f8e37d20114ecb223caaa5a72e8b7c13daf9f34
      https://github.com/llvm/llvm-project/commit/2f8e37d20114ecb223caaa5a72e8b7c13daf9f34
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-02-09 (Fri, 09 Feb 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SROA.cpp
    M llvm/test/Transforms/SROA/select-gep.ll

  Log Message:
  -----------
  [SROA] Unfold gep of index select (#80983)

SROA currently supports converting a gep of select into select of gep if
the select is in the pointer operand. This patch expands support to
selects in an index operand.

This is intended to address the regression reported in
https://github.com/llvm/llvm-project/pull/68882#issuecomment-1924909922.




More information about the All-commits mailing list