brintos

brintos / llvm-project-archived public Read only

0
0
Text · 442 B · 0a032b0 Raw
16 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=aarch64-none-linux-gnu -global-isel -global-isel-abort=0 | FileCheck %s3 4; this used to crash5define i32 @f(i32 %a) {6; CHECK-LABEL: f:7; CHECK:       // %bb.0:8; CHECK-NEXT:    lsl w8, w0, #89; CHECK-NEXT:    orr w0, w8, w0, lsl #1610; CHECK-NEXT:    ret11  %shl = shl i32 %a, 812  %or = or i32 %a, %shl13  %r = shl i32 %or, 814  ret i32 %r15}16