Skip to content
Unverified Commit acef83c1 authored by Michael Maitland's avatar Michael Maitland Committed by GitHub
Browse files

[VectorCombine] Fix crash in scalarizeVPIntrinsic (#72039)

When getSplatOp returns nullptr, the intrinsic cannot be scalarized.
This patch includes a test case that fixes a crash from trying to
scalarize the VPIntrinsic when getSplatOp returns nullptr.

This fixes https://github.com/llvm/llvm-project/issues/72034.
parent d3d49bca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment