[PATCH] D136119: [SROA] Don't speculate phis with different load user types

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 17 17:05:43 PDT 2022


aeubanks created this revision.
aeubanks added reviewers: asbirlea, nikic.
Herald added a subscriber: hiraditya.
Herald added a project: All.
aeubanks requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Fixes an SROA crash.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136119

Files:
  llvm/lib/Transforms/Scalar/SROA.cpp
  llvm/test/Transforms/SROA/phi-speculate-different-load-types.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136119.468373.patch
Type: text/x-patch
Size: 3357 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221018/29ebb137/attachment.bin>


More information about the llvm-commits mailing list