You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
300 B

; 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: ldi [[SRC:r[0-9]+]], 0
; CHECK-NEXT: st [[PTRREG:X|Y|Z]], [[SRC]]
store i8 0, i8* undef, align 4
ret void
}