[llvm] r318220 - Fix switch-lower-peel-top-case.ll isel pass is not registered error

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 14 15:30:28 PST 2017


Author: hans
Date: Tue Nov 14 15:30:28 2017
New Revision: 318220

URL: http://llvm.org/viewvc/llvm-project?rev=318220&view=rev
Log:
Fix switch-lower-peel-top-case.ll isel pass is not registered error

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.

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

Modified: llvm/trunk/test/CodeGen/X86/switch-lower-peel-top-case.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/switch-lower-peel-top-case.ll?rev=318220&r1=318219&r2=318220&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/switch-lower-peel-top-case.ll (original)
+++ llvm/trunk/test/CodeGen/X86/switch-lower-peel-top-case.ll Tue Nov 14 15:30:28 2017
@@ -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:




More information about the llvm-commits mailing list