| # RUN: not llc -mtriple=aarch64 -global-isel-abort=1 -run-pass=legalizer -verify-machineinstrs %s -o /dev/null 2>&1 | FileCheck %s |
| # RUN: not llc -mtriple=aarch64-linux-gnu -global-isel-abort=1 -run-pass=legalizer -verify-machineinstrs %s -o /dev/null 2>&1 | FileCheck %s |
| ... |
| --- |
| name: bzero |
| tracksRegLiveness: true |
| body: | |
| bb.0: |
| # CHECK: LLVM ERROR: unable to legalize instruction: G_BZERO |
| liveins: $x0, $x1 |
| %ptr:_(p0) = COPY $x0 |
| %width:_(s64) = COPY $x1 |
| G_BZERO %ptr(p0), %width(s64), 0 :: (store 4) |
| RET_ReallyLR |