[llvm] d5268eb - [test] Add a triple to an x86 test

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 3 14:10:22 PST 2020


Author: Justin Bogner
Date: 2020-12-03T14:05:51-08:00
New Revision: d5268ebe19252c86549a3c8a9c6b3fa714dbf17c

URL: https://github.com/llvm/llvm-project/commit/d5268ebe19252c86549a3c8a9c6b3fa714dbf17c
DIFF: https://github.com/llvm/llvm-project/commit/d5268ebe19252c86549a3c8a9c6b3fa714dbf17c.diff

LOG: [test] Add a triple to an x86 test

This already "REQUIRE"d an x86 target, but it was also implicitly
depending on a default triple being set.

Added: 
    

Modified: 
    llvm/test/Transforms/SampleProfile/pseudo-probe-emit.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/SampleProfile/pseudo-probe-emit.ll b/llvm/test/Transforms/SampleProfile/pseudo-probe-emit.ll
index ddb6a62c40d2..5e0e357a0782 100644
--- a/llvm/test/Transforms/SampleProfile/pseudo-probe-emit.ll
+++ b/llvm/test/Transforms/SampleProfile/pseudo-probe-emit.ll
@@ -1,7 +1,7 @@
 ; REQUIRES: x86-registered-target
 ; RUN: opt < %s -passes=pseudo-probe -function-sections -S -o %t
 ; RUN: FileCheck %s < %t --check-prefix=CHECK-IL
-; RUN: llc %t -pseudo-probe-for-profiling -stop-after=pseudo-probe-inserter -o - | FileCheck %s --check-prefix=CHECK-MIR
+; RUN: llc -mtriple=x86_64-- %t -stop-after=instruction-select -o - | FileCheck %s --check-prefix=CHECK-MIR
 ;
 ;; Check the generation of pseudoprobe intrinsic call.
 
@@ -29,7 +29,7 @@ bb3:
   ret void, !dbg !12
 }
 
-declare void @bar(i32 %x) 
+declare void @bar(i32 %x)
 
 define internal void @foo2(void (i32)* %f) !dbg !4 {
 entry:


        


More information about the llvm-commits mailing list