summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorAmara Emerson <aemerson@apple.com>2018-01-24 19:59:29 +0000
committerAmara Emerson <aemerson@apple.com>2018-01-24 19:59:29 +0000
commitf386e2b081b728b031b197e6028980b1bbcf52a3 (patch)
treeee30896cff8208bb0dfdf3b00daeab36ff256826 /llvm/test/CodeGen
parente151501615888a1f3011c6e031f0ee34464edea1 (diff)
downloadbcm5719-llvm-f386e2b081b728b031b197e6028980b1bbcf52a3.tar.gz
bcm5719-llvm-f386e2b081b728b031b197e6028980b1bbcf52a3.zip
[GlobalISel] Don't fall back to FastISel.
Apparently checking the pass structure isn't enough to ensure that we don't fall back to FastISel, as it's set up as part of the SelectionDAGISel. llvm-svn: 323369
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/AArch64/GlobalISel/fallback-nofastisel.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/AArch64/GlobalISel/fallback-nofastisel.ll b/llvm/test/CodeGen/AArch64/GlobalISel/fallback-nofastisel.ll
new file mode 100644
index 00000000000..84d8faf62c8
--- /dev/null
+++ b/llvm/test/CodeGen/AArch64/GlobalISel/fallback-nofastisel.ll
@@ -0,0 +1,10 @@
+; RUN: llc -mtriple=aarch64_be-- %s -o /dev/null -debug-only=isel -O0 2>&1 | FileCheck %s
+
+; This test uses big endian in order to force an abort since it's not currently supported for GISel.
+; The purpose is to check that we don't fall back to FastISel. Checking the pass structure is insufficient
+; because the FastISel is set up in the SelectionDAGISel, so it doesn't appear on the pass structure.
+
+; CHECK-NOT: Enabling fast-ise
+define void @empty() {
+ ret void
+}
OpenPOWER on IntegriCloud