[llvm] efb8cc5 - [NewPM] Fix print-changed-dot-cfg failure (#88351)

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 10 21:27:23 PDT 2024


Author: paperchalice
Date: 2024-04-11T12:27:18+08:00
New Revision: efb8cc5ddb03897795dc153a03d0c1548c8ee4a7

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

LOG: [NewPM] Fix print-changed-dot-cfg failure (#88351)

Fix failure in #80946.

Added: 
    

Modified: 
    llvm/test/Other/ChangePrinters/DotCfg/print-changed-dot-cfg.mir

Removed: 
    


################################################################################
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