repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git]
/
test
/
CodeGen
/
AVR
/
store-undef.ll
blob
1f395b331ca2668610bb2998dc0f69fb2af28c54
1
; RUN: llc < %s -march=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
7
define void @foo() {
8
9
; CHECK: ldi [[SRC:r[0-9]+]], 0
10
; CHECK-NEXT: st [[PTRREG:X|Y|Z]], [[SRC]]
11
store i8 0, i8* undef, align 4
12
ret void
13
}