llvm-for-llvmta/test/CodeGen/MIR/AArch64/invalid-target-memoperands.mir

20 lines
418 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
# RUN: not llc -mtriple=aarch64-none-linux-gnu -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
--- |
define void @target_memoperands_error() {
ret void
}
...
---
name: target_memoperands_error
body: |
bb.0:
%0:_(p0) = COPY $x0
; CHECK: [[@LINE+1]]:35: use of undefined target MMO flag 'aarch64-invalid'
%1:_(s64) = G_LOAD %0(p0) :: ("aarch64-invalid" load 8)
RET_ReallyLR
...