brintos

brintos / llvm-project-archived public Read only

0
0
Text · 452 B · 0fce8de Raw
16 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 42; RUN: llc -mtriple=aarch64-unknown-unknown < %s | FileCheck %s3 4define i32 @pr84830(i1 %arg) {5; CHECK-LABEL: pr84830:6; CHECK:       // %bb.0: // %bb7; CHECK-NEXT:    mov w0, #1 // =0x18; CHECK-NEXT:    ret9bb:10  %new0 = srem i1 %arg, true11  %last = zext i1 %new0 to i3212  %i = icmp ne i32 %last, 013  %i1 = select i1 %i, i32 0, i32 114  ret i32 %i115}16