Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MachineVerifier / test_g_bswap.mir
blob679114f06a00e0c93deae3ae9ba15e72430ebbac
1 #RUN: not --crash llc -mtriple=aarch64 -o - -global-isel -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
2 # REQUIRES: aarch64-registered-target
4 ---
5 name:            test_bswap
6 legalized:       true
7 regBankSelected: false
8 selected:        false
9 tracksRegLiveness: true
10 liveins:
11 body:             |
12   bb.0:
14     %0:_(s17) = G_CONSTANT i32 17
16     ; CHECK: Bad machine code: G_BSWAP size must be a multiple of 16 bits
17     %1:_(s17) = G_BSWAP %0
19 ...