xref: /llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/legalize-bzero-unsupported.mir (revision 23f657c165da1b599d79de11980583968d8e6a91)
1# RUN: not llc -mtriple=aarch64 -global-isel-abort=1 -run-pass=legalizer -verify-machineinstrs %s -o /dev/null 2>&1 | FileCheck %s
2# RUN: not llc -mtriple=aarch64-linux-gnu -global-isel-abort=1 -run-pass=legalizer -verify-machineinstrs %s -o /dev/null 2>&1 | FileCheck %s
3...
4---
5name:            bzero
6tracksRegLiveness: true
7body:             |
8  bb.0:
9    # CHECK: LLVM ERROR: unable to legalize instruction: G_BZERO
10    liveins: $x0, $x1
11    %ptr:_(p0) = COPY $x0
12    %width:_(s64) = COPY $x1
13    G_BZERO %ptr(p0), %width(s64), 0 :: (store 4)
14    RET_ReallyLR
15