brintos

brintos / llvm-project-archived public Read only

0
0
Text · 580 B · a4392d2 Raw
21 lines · plain
1; RUN: llc < %s | FileCheck %s2 3target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"4target triple = "thumbv6m---eabi"5 6; CHECK-LABEL: test_fn7; CHECK-NOT: uxtb8define dso_local zeroext i8 @test_fn(i32 %x, ptr nocapture %f) {9entry:10  %tobool = icmp eq i32 %x, 011  br i1 %tobool, label %if.end, label %if.then12 13if.then:                                          ; preds = %entry14  tail call void %f() #115  br label %if.end16 17if.end:                                           ; preds = %entry, %if.then18  %z.0 = phi i8 [ 3, %if.then ], [ 0, %entry ]19  ret i8 %z.020}21