1 ; RUN: llc -mtriple=aarch64-apple-darwin -O0 -fast-isel -fast-isel-abort=1 -verify-machineinstrs < %s | FileCheck %s
3 ; CHECK-LABEL: int_ext_opt
4 define i64 @int_ext_opt(ptr %addr, i1 %c1, i1 %c2) {
6 %0 = load i8, ptr %addr
7 br i1 %c1, label %bb1, label %bb2
10 %1 = zext i8 %0 to i64
11 br i1 %c2, label %bb2, label %exit
14 %2 = phi i64 [1, %entry], [%1, %bb1]