1 ; RUN: opt < %s -simplifycfg -S | FileCheck %s
5 "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32"
6 target triple = "i386-pc-linux-gnu"
8 define void @test1(i32 %x) nounwind {
10 %0 = icmp eq i32 %x, 0 ; <i1> [#uses=1]
11 br i1 %0, label %bb, label %return
14 %1 = volatile load i32* null
18 return: ; preds = %entry
21 ; CHECK: volatile load
25 define void @test2() nounwind {
31 ; CHECK: call void @llvm.trap
36 define void @test3() nounwind {
38 volatile store i32 4, i32* null
42 ; CHECK: volatile store i32 4, i32* null