brintos

brintos / llvm-project-archived public Read only

0
0
Text · 498 B · e58e233 Raw
20 lines · plain
1; RUN: llc -mtriple=aarch64-apple-darwin -O0 -fast-isel -fast-isel-abort=0 -verify-machineinstrs < %s | FileCheck %s2 3define void @test(i64 %a, i64 %b, ptr %c) {4; CHECK-LABEL: test5; CHECK:       and [[REG1:w[0-9]+]], {{w[0-9]+}}, #0x36; CHECK-NEXT:  strb [[REG1]], [x2]7; CHECK-NEXT:  tbz {{w[0-9]+}}, #0,8 %1 = trunc i64 %a to i29 %2 = trunc i64 %b to i110; Force fast-isel to fall back to SDAG.11 store i2 %1, ptr %c, align 812 br i1 %2, label %bb1, label %bb213 14bb1:15  ret void16 17bb2:18  ret void19}20