[llvm] r318206 - [CodeGen] Fix the test case added in r318202

Rong Xu via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 14 14:08:37 PST 2017


Author: xur
Date: Tue Nov 14 14:08:37 2017
New Revision: 318206

URL: http://llvm.org/viewvc/llvm-project?rev=318206&view=rev
Log:
[CodeGen] Fix the test case added in r318202

Add the -mtriple option to filter some platforms.

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=318206&r1=318205&r2=318206&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 14:08:37 2017
@@ -1,4 +1,4 @@
-; RUN: llc -stop-after=isel < %s  | FileCheck %s
+; RUN: llc -mtriple=x86_64-linux-gnu -stop-after=isel < %s  | FileCheck %s
 
 define i32 @foo(i32 %n) !prof !1 {
 entry:




More information about the llvm-commits mailing list