mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
f68bc13836
This seems to have caused failures on the buildbot. llvm-svn: 289324
14 lines
300 B
LLVM
14 lines
300 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: ldi [[SRC:r[0-9]+]], 0
|
|
; CHECK-NEXT: st [[PTRREG:X|Y|Z]], [[SRC]]
|
|
store i8 0, i8* undef, align 4
|
|
ret void
|
|
}
|