1 ; RUN: opt -aa-pipeline=basic-aa -passes='print<memoryssa>,verify<memoryssa>' -disable-output < %s 2>&1 | FileCheck %s
2 target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
6 br i1 undef, label %split1, label %split2
9 store i16 undef, i16* undef, align 2
16 ; The forwardunreachable block still needs an entry in the phi node,
17 ; because it is reverse reachable, so the CFG still has it as a
18 ; predecessor of the block
19 ; CHECK: 3 = MemoryPhi({split1,1},{split2,liveOnEntry},{forwardunreachable,liveOnEntry})
20 store i16 undef, i16* undef, align 2