[llvm] r284538 - Add target for test to fix regression introduced by r284533.
Dehao Chen via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 18 14:13:31 PDT 2016
Author: dehao
Date: Tue Oct 18 16:13:31 2016
New Revision: 284538
URL: http://llvm.org/viewvc/llvm-project?rev=284538&view=rev
Log:
Add target for test to fix regression introduced by r284533.
Modified:
llvm/trunk/test/Transforms/CodeGenPrepare/section.ll
Modified: llvm/trunk/test/Transforms/CodeGenPrepare/section.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/CodeGenPrepare/section.ll?rev=284538&r1=284537&r2=284538&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/CodeGenPrepare/section.ll (original)
+++ llvm/trunk/test/Transforms/CodeGenPrepare/section.ll Tue Oct 18 16:13:31 2016
@@ -1,6 +1,8 @@
; RUN: opt < %s -codegenprepare -S | FileCheck --check-prefixes=CHECK-OPT %s
; RUN: llc < %s -mtriple=x86_64-pc-linux-gnu -o - | FileCheck --check-prefixes=CHECK-LLC %s
+target triple = "x86_64-pc-linux-gnu"
+
; This tests that hot/cold functions get correct section prefix assigned
; CHECK-OPT: hot_func{{.*}}!section_prefix ![[HOT_ID:[0-9]+]]
More information about the llvm-commits
mailing list