1 ; RUN: llc -o - -verify-machineinstrs -global-isel -global-isel-abort=2 %s 2>&1 | FileCheck %s
2 target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
3 target triple = "aarch64-unknown-unknown"
5 ; We should fall back in the translator if we don't have no-neon/no-fp support.
6 ; CHECK: Instruction selection used fallback path for foo
7 define void @foo(ptr %ptr) #0 align 2 {
9 store i128 0, ptr %ptr, align 16
13 ; This test below will crash the legalizer due to trying to use legacy rules,
14 ; if we don't fall back in the translator.
16 ; CHECK: Instruction selection used fallback path for bar
17 define i32 @bar() #0 {
18 %1 = call zeroext i1 @zoo()
19 %2 = zext i1 %1 to i32
23 attributes #0 = { "use-soft-float"="false" "target-features"="-fp-armv8,-neon" }