1; RUN: llc -mtriple=aarch64-apple-darwin -O0 -fast-isel -fast-isel-abort=1 -verify-machineinstrs < %s | FileCheck %s 2 3; CHECK-LABEL: int_ext_opt 4define i64 @int_ext_opt(i8* %addr, i1 %c1, i1 %c2) { 5entry: 6 %0 = load i8, i8* %addr 7 br i1 %c1, label %bb1, label %bb2 8 9bb1: 10 %1 = zext i8 %0 to i64 11 br i1 %c2, label %bb2, label %exit 12 13bb2: 14 %2 = phi i64 [1, %entry], [%1, %bb1] 15 ret i64 %2 16 17exit: 18 ret i64 0 19} 20