• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; REQUIRES: asserts
2
3; RUN: llc -mtriple=aarch64-- -debug-pass=Structure %s -o /dev/null 2>&1 \
4; RUN:   -verify-machineinstrs=0 -O0 -global-isel=false -debug-only=isel \
5; RUN:   | FileCheck %s --check-prefixes=DISABLED,FASTISEL
6
7; RUN: llc -mtriple=aarch64-- -debug-pass=Structure %s -o /dev/null 2>&1 \
8; RUN:   -verify-machineinstrs=0 -O1 -global-isel=false -debug-only=isel \
9; RUN:   | FileCheck %s --check-prefixes=DISABLED,NOFASTISEL
10
11; RUN: llc -mtriple=aarch64-- -debug-pass=Structure %s -o /dev/null 2>&1 \
12; RUN:   -verify-machineinstrs=0 -O0 -fast-isel=false -global-isel=false \
13; RUN:   -debug-only=isel \
14; RUN:   | FileCheck %s --check-prefixes=DISABLED,NOFASTISEL
15
16; RUN: llc -mtriple=aarch64-- -debug-pass=Structure %s -o /dev/null 2>&1 \
17; RUN:   -verify-machineinstrs=0 -O1 -fast-isel=false -global-isel=false \
18; RUN:   -debug-only=isel \
19; RUN:   | FileCheck %s --check-prefixes=DISABLED,NOFASTISEL
20
21; Check that the right instruction selector is chosen when using
22; -global-isel=false. FastISel should be used at -O0 (unless -fast-isel=false is
23; also present) and SelectionDAG otherwise.
24
25; DISABLED-NOT: IRTranslator
26
27; DISABLED: AArch64 Instruction Selection
28; DISABLED: Finalize ISel and expand pseudo-instructions
29
30; FASTISEL: Enabling fast-isel
31; NOFASTISEL-NOT: Enabling fast-isel
32
33define void @empty() {
34  ret void
35}
36