mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-09 04:24:10 +00:00
bbc71b8057
Tests updated to explicitly use fast-isel at -O0 instead of implicitly. This change also allows an explicit -fast-isel option to override an implicitly enabled global-isel. Otherwise -fast-isel would have no effect at -O0. Differential Revision: https://reviews.llvm.org/D41362 llvm-svn: 321655
12 lines
192 B
LLVM
12 lines
192 B
LLVM
; RUN: llc < %s -mtriple=arm64-apple-darwin -O0 -fast-isel | FileCheck %s
|
|
|
|
; CHECK: b _foo0
|
|
|
|
define i32 @foo1() {
|
|
entry:
|
|
%call = tail call i32 @foo0()
|
|
ret i32 %call
|
|
}
|
|
|
|
declare i32 @foo0()
|