[all-commits] [llvm/llvm-project] 6219ec: [SROA] Don't speculate phis with different load us...

aeubanks via All-commits all-commits at lists.llvm.org
Tue Oct 18 08:44:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6219ec07c6f8d1ead51beca7cf21fbf2323c51d7
      https://github.com/llvm/llvm-project/commit/6219ec07c6f8d1ead51beca7cf21fbf2323c51d7
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2022-10-18 (Tue, 18 Oct 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SROA.cpp
    A llvm/test/Transforms/SROA/phi-speculate-different-load-types.ll

  Log Message:
  -----------
  [SROA] Don't speculate phis with different load user types

Fixes an SROA crash.

Fallout from opaque pointers since with typed pointers we'd bail out at the bitcast.

Reviewed By: nikic

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




More information about the All-commits mailing list