[llvm] 4afb1ee - Specify target triple for bb-prefix-dump.ll

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 11 14:02:58 PST 2023


Author: Mircea Trofin
Date: 2023-02-11T14:02:44-08:00
New Revision: 4afb1ee7bc0e3674238da2d3668f8d8b80596c62

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

LOG: Specify target triple for bb-prefix-dump.ll

Differential Revision: https://reviews.llvm.org/D143815

Added: 
    

Modified: 
    llvm/test/CodeGen/MLRegalloc/bb-profile-dump.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/MLRegalloc/bb-profile-dump.ll b/llvm/test/CodeGen/MLRegalloc/bb-profile-dump.ll
index ba47d70bfeecb..d876d73997482 100644
--- a/llvm/test/CodeGen/MLRegalloc/bb-profile-dump.ll
+++ b/llvm/test/CodeGen/MLRegalloc/bb-profile-dump.ll
@@ -1,10 +1,9 @@
-; REQUIRES: default_triple
+; REQUIRES: x86-registered-target
 ;
 ; Check that the basic block profile dump outputs data and in the correct
 ; format.
 ;
-; RUN: llc -o /dev/null -mbb-profile-dump=%t %s
-; RUN: FileCheck --input-file %t %s
+; RUN: llc -mtriple=x86_64-linux-unknown -o /dev/null -mbb-profile-dump=- %s | FileCheck %s
 
 ; bb profile dump is not supported on NVPTX
 ; UNSUPPORTED: target=nvptx{{.*}}


        


More information about the llvm-commits mailing list