16 lines
407 B
LLVM
16 lines
407 B
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
; RUN: llc < %s -mtriple=i686-- | FileCheck %s
|
|
|
|
@dst = global i32 0 ; <i32*> [#uses=1]
|
|
@ptr = global i32* null ; <i32**> [#uses=1]
|
|
|
|
define void @test() {
|
|
; CHECK-LABEL: test:
|
|
; CHECK: # %bb.0:
|
|
; CHECK-NEXT: movl $dst, ptr
|
|
; CHECK-NEXT: retl
|
|
store i32* @dst, i32** @ptr
|
|
ret void
|
|
}
|
|
|