1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=aarch64 | FileCheck %s
4 ; Freezing operand of an operation that is being freezed
5 ; may invalidate the whole SDValue we were trying to originally freeze.
6 define i8 @pr59891(i64 %0) {
7 ; CHECK-LABEL: pr59891:
9 ; CHECK-NEXT: mov w0, wzr
12 %3 = trunc i64 %2 to i1
13 %4 = trunc i64 %0 to i1