[PATCH] D17531: Set mtriple for partion section testcase.

Dehao Chen via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 22 19:08:57 PST 2016


danielcdh created this revision.
danielcdh added a reviewer: davidxl.
danielcdh added a subscriber: llvm-commits.

This should fix the test failure in OSX.

http://reviews.llvm.org/D17531

Files:
  test/CodeGen/X86/partition-sections.ll

Index: test/CodeGen/X86/partition-sections.ll
===================================================================
--- test/CodeGen/X86/partition-sections.ll
+++ test/CodeGen/X86/partition-sections.ll
@@ -1,6 +1,6 @@
-; RUN: llc < %s -group-functions-by-hotness=true | FileCheck %s -check-prefix=PARTITION
-; RUN: llc < %s -function-sections -group-functions-by-hotness=false | FileCheck %s -check-prefix=NO-PARTITION-FUNCTION-SECTION
-; RUN: llc < %s -function-sections -group-functions-by-hotness=true | FileCheck %s -check-prefix=PARTITION-FUNCTION-SECTION
+; RUN: llc < %s -mtriple=x86_64-pc-linux -group-functions-by-hotness=true | FileCheck %s -check-prefix=PARTITION
+; RUN: llc < %s -mtriple=x86_64-pc-linux -function-sections -group-functions-by-hotness=false | FileCheck %s -check-prefix=NO-PARTITION-FUNCTION-SECTION
+; RUN: llc < %s -mtriple=x86_64-pc-linux -function-sections -group-functions-by-hotness=true | FileCheck %s -check-prefix=PARTITION-FUNCTION-SECTION
 
 ; PARTITION: .text.unlikely
 ; PARTITION: .globl  _Z3foov


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17531.48769.patch
Type: text/x-patch
Size: 1038 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160223/eb8b560c/attachment.bin>


More information about the llvm-commits mailing list