brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 401523c Raw
36 lines · plain
1; REQUIRES: asserts2 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,FASTISEL6 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,NOFASTISEL10 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,NOFASTISEL15 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,NOFASTISEL20 21; Check that the right instruction selector is chosen when using22; -global-isel=false. FastISel should be used at -O0 (unless -fast-isel=false is23; also present) and SelectionDAG otherwise.24 25; DISABLED-NOT: IRTranslator26 27; DISABLED: AArch64 Instruction Selection28; DISABLED: Finalize ISel and expand pseudo-instructions29 30; FASTISEL: Enabling fast-isel31; NOFASTISEL-NOT: Enabling fast-isel32 33define void @empty() {34  ret void35}36