blob: 3caa91b11ec699eab86fd2a9dd078dfe866f761e [file] [log] [blame]
Quentin Colombetfbae5fc2017-02-13 17:38:59 +00001; RUN: llc -fast-isel -o - %s -fast-isel-report-on-fallback 2>&1 | FileCheck %s
2; Make sure FastISel report a warming when we asked it to do so.
3; Note: This test needs to use whatever is not supported by FastISel.
4; Thus, this test may fail because inline asm gets supported in FastISel.
5; To fix this, use something else that's not supported (e.g., weird types).
6target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
7target triple = "x86_64-apple-macosx"
8
9; CHECK: warning: Instruction selection used fallback path for foo
10define void @foo(){
11entry:
12 call void asm sideeffect "nop", "~{dirflag},~{fpsr},~{flags}"()
13 ret void
14}