23 lines · plain
1; RUN: llc -o - %s | FileCheck %s2 3target datalayout = "e-m:x-p:32:32-i64:64-f80:32-n8:16:32-a:0:32-S32"4target triple = "i686-pc-windows-msvc18.0.0"5 6@foo = external global i87 8define void @f(ptr %c) {9entry:10 ; CHECK: cmpl $_foo, 4(%esp)11 %cmp = icmp eq ptr %c, @foo12 br i1 %cmp, label %if.then, label %if.end13 14if.then:15 tail call void @g()16 br label %if.end17 18if.end:19 ret void20}21 22declare void @g()23