mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 23:23:38 -04:00
d8de4cebd9
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321655 91177308-0d34-0410-b5e6-96231b3b80d8
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()
|