1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 2
2 ; RUN: opt -passes=globalopt -S -debug %s 2>&1 | FileCheck %s
6 @g = internal global { double } { double 0x40E7606FBE1650A4 }
8 ; CHECK: Global SRA: Failed to evaluate initializer of @g =
10 define [1 x double] @test () {
11 ; CHECK-LABEL: define [1 x double] @test() local_unnamed_addr {
13 ; CHECK-NEXT: [[L:%.*]] = load [1 x double], ptr @g, align 8
14 ; CHECK-NEXT: ret [1 x double] [[L]]
17 %l = load [1 x double], ptr @g, align 8