16 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=aarch64-unknown-linux-gnu | FileCheck %s3 4; This used to generate incorrect code because we sign extended5; the undef to undef instead of to 0.6 7define i1 @test14(i8 %X) {8; CHECK-LABEL: test14:9; CHECK: // %bb.0:10; CHECK-NEXT: mov w0, wzr11; CHECK-NEXT: ret12 %1 = shl i8 -113, %X13 %cmp = icmp slt i8 undef, %114 ret i1 %cmp15}16