1 ; RUN: opt -passes=licm -verify-memoryssa -S < %s | FileCheck %s
4 target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
5 target triple = "aarch64"
12 g: ; preds = %cleanup, %entry
13 %0 = load i32, ptr null, align 4
14 %and = and i32 %0, undef
15 store i32 %and, ptr null, align 4
16 br i1 undef, label %if.end8, label %if.then
19 br i1 undef, label %k, label %cleanup
21 k: ; preds = %if.end8, %if.then
22 br i1 undef, label %if.end8, label %cleanup
24 if.end8: ; preds = %k, %g
25 br i1 undef, label %for.cond.preheader, label %k
27 for.cond.preheader: ; preds = %if.end8
30 cleanup: ; preds = %k, %if.then