1 ; RUN: opt -passes=gvn-hoist -S < %s | FileCheck %s
6 target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
8 define void @f(ptr %p, i1 %arg) {
10 switch i4 undef, label %if.then30 [
19 br i1 %arg, label %e, label %e.thread
22 store i8 0, ptr %p, align 4
30 store i8 0, ptr %p, align 4