#RUN: not --crash llc -mtriple=aarch64 -o - -global-isel -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s | |
# REQUIRES: aarch64-registered-target | |
--- | |
name: test_bswap | |
legalized: true | |
regBankSelected: false | |
selected: false | |
tracksRegLiveness: true | |
liveins: | |
body: | | |
bb.0: | |
%0:_(s17) = G_CONSTANT i32 17 | |
; CHECK: Bad machine code: G_BSWAP size must be a multiple of 16 bits | |
%1:_(s17) = G_BSWAP %0 | |
... |