brintos

brintos / llvm-project-archived public Read only

0
0
Text · 355 B · af58abe Raw
13 lines · plain
1; RUN: llc -mtriple=aarch64-apple-darwin -fast-isel -fast-isel-abort=1 -verify-machineinstrs < %s2 3; Test that %1 doesn't get the kill flag set before its last use.4define i32 @test_trunc(i32 %a) {5  %1 = add i32 %a, 16  %2 = trunc i32 %1 to i167  %3 = icmp ult i16 1, %28  %4 = add i32 %1, 19  %5 = sext i1 %3 to i3210  %6 = and i32 %4, %511  ret i32 %612}13