xref: /llvm-project/llvm/test/CodeGen/AVR/store-undef.ll (revision 9ef1d37ffb5f56a9b949a6307bbb16c2ea0130e3)
1; RUN: llc < %s -mtriple=avr | FileCheck %s
2
3; This test checks that we can successfully lower a store
4; to an undefined pointer.
5
6; CHECK-LABEL: foo
7define void @foo() {
8
9  ; CHECK: st [[PTRREG:X|Y|Z]], r1
10  store i8 0, ptr undef, align 4
11  ret void
12}
13