Add target for test to fix regression introduced by r284533.
authorDehao Chen <dehao@google.com>
Tue, 18 Oct 2016 21:13:31 +0000 (21:13 +0000)
committerDehao Chen <dehao@google.com>
Tue, 18 Oct 2016 21:13:31 +0000 (21:13 +0000)
llvm-svn: 284538

llvm/test/Transforms/CodeGenPrepare/section.ll

index a7652da..5b9fc6c 100644 (file)
@@ -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]+]]