1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=aarch64-unknown-linux-gnu | FileCheck %s
4 ; This used to generate incorrect code because we sign extended
5 ; the undef to undef instead of to 0.
7 define i1 @test14(i8 %X) {
10 ; CHECK-NEXT: mov w0, wzr
13 %cmp = icmp slt i8 undef, %1