[PATCH] D143815: Specify target triple for bb-prefix-dump.ll

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 11 08:01:46 PST 2023


mtrofin created this revision.
Herald added subscribers: qcolombet, MatzeB.
Herald added a project: All.
mtrofin requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143815

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


Index: llvm/test/CodeGen/MLRegalloc/bb-profile-dump.ll
===================================================================
--- llvm/test/CodeGen/MLRegalloc/bb-profile-dump.ll
+++ 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{{.*}}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143815.496689.patch
Type: text/x-patch
Size: 660 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230211/81c61b03/attachment.bin>


More information about the llvm-commits mailing list