mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
32875af6e3
Summary: Currently fast-isel-abort will only abort for regular instructions, and just warn for function calls, terminators, function arguments. There is already fast-isel-abort-args but nothing for calls and terminators. This change turns the fast-isel-abort options into an integer option, so that multiple levels of strictness can be defined. This will help no being surprised when the "abort" option indeed does not abort, and enables the possibility to write test that verifies that no intrinsics are forgotten by fast-isel. Reviewers: resistor, echristo Subscribers: jfb, llvm-commits Differential Revision: http://reviews.llvm.org/D7941 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 230775
10 lines
317 B
LLVM
10 lines
317 B
LLVM
; RUN: llc -mtriple=aarch64-apple-darwin -fast-isel -fast-isel-abort=1 -verify-machineinstrs < %s | FileCheck %s
|
|
|
|
; Test that we don't abort fast-isle for ret
|
|
define <8 x i8> @ret_v8i8(<8 x i8> %a, <8 x i8> %b) {
|
|
; CHECK-LABEL: ret_v8i8
|
|
; CHECK: add.8b v0, v0, v1
|
|
%1 = add <8 x i8> %a, %b
|
|
ret <8 x i8> %1
|
|
}
|