Files
clang-p2996/llvm/test/CodeGen/AVR/store-undef.ll
2024-02-05 13:55:50 +01:00

13 lines
251 B
LLVM

; RUN: llc < %s -march=avr | FileCheck %s
; This test checks that we can successfully lower a store
; to an undefined pointer.
; CHECK-LABEL: foo
define void @foo() {
; CHECK: st [[PTRREG:X|Y|Z]], r1
store i8 0, ptr undef, align 4
ret void
}