Fix switch-lower-peel-top-case.ll isel pass is not registered error
authorHans Wennborg <hans@hanshq.net>
Tue, 14 Nov 2017 23:30:28 +0000 (23:30 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 14 Nov 2017 23:30:28 +0000 (23:30 +0000)
The test was doing -stop-after=isel, but that pass is actually the
AMDGPUDAGToDAGISel pass, which might not be built when targeting x86_64.
This changes the test to -stop-after=expand-isel-pseudos instead.

Follow-up to r318202.

llvm-svn: 318220

llvm/test/CodeGen/X86/switch-lower-peel-top-case.ll

index 59156f9..a43e73c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -mtriple=x86_64-linux-gnu -stop-after=isel < %s  | FileCheck %s
+; RUN: llc -mtriple=x86_64-linux-gnu -stop-after=expand-isel-pseudos < %s  | FileCheck %s
 
 define i32 @foo(i32 %n) !prof !1 {
 entry: