Sign in
rust
/
rust-lang
/
llvm-project
/
refs/heads/rustc/20.1-2025-07-13
/
.
/
llvm
/
test
/
CodeGen
/
AVR
/
store-undef.ll
blob: a7a4e8c794f4bd0938e2ad0a22a0efe698834c80 [
file
] [
log
] [
blame
]
; RUN: llc < %s -mtriple=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
}