mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
Improve portability with Mac OS/X
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10338 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
16442cba7c
commit
612ac2dfaa
@ -1,7 +1,7 @@
|
||||
; This test ensures that alloca instructions in the entry block for an inlined
|
||||
; function are moved to the top of the function they are inlined into.
|
||||
;
|
||||
; RUN: llvm-as < %s | opt -inline | llvm-dis | grep -C 1 alloca | grep Entry:
|
||||
; RUN: llvm-as < %s | opt -inline | llvm-dis | grep -C1 alloca | grep Entry:
|
||||
|
||||
int %func(int %i) {
|
||||
%X = alloca int
|
||||
|
@ -1,7 +1,7 @@
|
||||
; This testcase tests for a problem where LICM hoists
|
||||
; potentially trapping instructions when they are not guaranteed to execute.
|
||||
;
|
||||
; RUN: llvm-as < %s | opt -licm | llvm-dis | grep -C 2 "IfUnEqual" | grep div
|
||||
; RUN: llvm-as < %s | opt -licm | llvm-dis | grep -C2 "IfUnEqual" | grep div
|
||||
|
||||
%X = global int 0
|
||||
declare void %foo()
|
||||
|
@ -1,7 +1,7 @@
|
||||
; This testcase tests to make sure a trapping instruction is hoisted when
|
||||
; it is guaranteed to execute.
|
||||
;
|
||||
; RUN: llvm-as < %s | opt -licm | llvm-dis | grep -C 2 "test" | grep div
|
||||
; RUN: llvm-as < %s | opt -licm | llvm-dis | grep -C2 "test" | grep div
|
||||
|
||||
%X = global int 0
|
||||
declare void %foo()
|
||||
|
Loading…
Reference in New Issue
Block a user