1; RUN: opt -disable-output < %s -passes='module(function(jump-threading),globaldce)' 2 3target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 4target triple = "x86_64-unknown-linux-gnu" 5 6declare i32 @bar() 7 8define internal i32 @foo() { 9entry: 10 %call4 = call i32 @bar() 11 %cmp5 = icmp eq i32 %call4, 0 12 br i1 %cmp5, label %if.then6, label %if.end8 13 14if.then6: 15 ret i32 0 16 17if.end8: 18 ret i32 1 19} 20