1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2 ; RUN: opt -S -globalopt < %s | FileCheck %s
4 ; In this case an instruction queued for recursive deletion gets RAUWd with
5 ; a constant in the meantime. Make sure this does not cause an assertion
8 @a = internal global i32** null
9 @b = internal global i32*** @a
13 ; CHECK-NEXT: ret void
15 %v1 = load i32***, i32**** @b
16 %v2 = load i32**, i32*** %v1
17 store i32** %v2, i32*** @a