[llvm] [NewPM] Fix print-changed-dot-cfg failure (PR #88351)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 10 21:26:47 PDT 2024
https://github.com/paperchalice created https://github.com/llvm/llvm-project/pull/88351
Fix failure in #80946.
>From 4edf8667d2a71996c38ab630b537ea25389156ac Mon Sep 17 00:00:00 2001
From: PaperChalice <liujunchang97 at outlook.com>
Date: Thu, 11 Apr 2024 12:25:38 +0800
Subject: [PATCH] [NewPM] Fix print-changed-dot-cfg failure
---
llvm/test/Other/ChangePrinters/DotCfg/print-changed-dot-cfg.mir | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/test/Other/ChangePrinters/DotCfg/print-changed-dot-cfg.mir b/llvm/test/Other/ChangePrinters/DotCfg/print-changed-dot-cfg.mir
index 340ece93aa02bb..40603630c61345 100644
--- a/llvm/test/Other/ChangePrinters/DotCfg/print-changed-dot-cfg.mir
+++ b/llvm/test/Other/ChangePrinters/DotCfg/print-changed-dot-cfg.mir
@@ -1,7 +1,7 @@
# REQUIRES: x86-registered-target
# Simple functionality check.
# RUN: rm -rf %t && mkdir -p %t
-# RUN: llc -filetype=null -print-changed=dot-cfg -passes=no-op-machine-function -dot-cfg-dir=%t %s
+# RUN: llc -mtriple=x86_64-pc-linux-gnu -filetype=null -print-changed=dot-cfg -passes=no-op-machine-function -dot-cfg-dir=%t %s
# RUN: ls %t/*.pdf %t/passes.html | count 3
---
More information about the llvm-commits
mailing list