Summary: Switch to FileCheck where possible. Adjust tests so they can be easily regenerated by update scripts. Reviewers: craig.topper, spatel, RKSimon Reviewed By: spatel Subscribers: MatzeB, qcolombet, arphaman, jfb, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D71211
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
|
|
}
|
|
|