# RUN: llc %s -mtriple=s390x-linux-gnu -mcpu=z13 \ # RUN: -start-before=simple-register-coalescing -o - 2>&1 > /dev/null # Test that the SystemZ shouldCoalesce() implementation does not crash in # case of an undef use in another MBB. This was discovered in testing with # -systemz-subreg-liveness. --- | @g_74 = external dso_local unnamed_addr global i32, align 4 @g_193 = external dso_local unnamed_addr global i32, align 4 define dso_local void @main() local_unnamed_addr { %1 = load i32, i32* @g_193 %2 = or i32 %1, -1395153718 %3 = sdiv i32 -1395153718, %2 br i1 undef, label %5, label %4 ;