mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
abfb9e7ee2
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
21 lines
707 B
LLVM
21 lines
707 B
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
; RUN: llc < %s -mtriple=i386-apple-darwin9 | FileCheck %s --check-prefix=i386-darwin9
|
|
; RUN: llc < %s -mtriple=x86_64-apple-darwin9 | FileCheck %s --check-prefix=x86_64-darwin9
|
|
|
|
@x = weak hidden global i32 0 ; <i32*> [#uses=1]
|
|
|
|
define i32 @t() nounwind readonly {
|
|
; i386-darwin9-LABEL: t:
|
|
; i386-darwin9: ## %bb.0: ## %entry
|
|
; i386-darwin9-NEXT: movl _x, %eax
|
|
; i386-darwin9-NEXT: retl
|
|
;
|
|
; x86_64-darwin9-LABEL: t:
|
|
; x86_64-darwin9: ## %bb.0: ## %entry
|
|
; x86_64-darwin9-NEXT: movl {{.*}}(%rip), %eax
|
|
; x86_64-darwin9-NEXT: retq
|
|
entry:
|
|
%0 = load i32, i32* @x, align 4 ; <i32> [#uses=1]
|
|
ret i32 %0
|
|
}
|