Skip to content
Unverified Commit 52f6f418 authored by Tyler Lanphear's avatar Tyler Lanphear Committed by GitHub
Browse files

[GlobalOpt] Handle DL.getAllocaAddrSpace() != 0 (#65847)

Fix crash on RAUW due to locals and globals having different address
spaces. This is the intent of the original code, but it assumes the
alloca address space is 0. This patch fixes the code to check that the
global's address space matches `DL.getAllocaAddrSpace()` instead.

Fixes #65155
parent 98e6deb6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment