[PATCH] D139725: [NFC] [DirectX backend] Fix test fail caused by using opt -passname

Xiang Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 9 09:59:28 PST 2022


python3kgae created this revision.
python3kgae added reviewers: pow2clk, bob80905.
Herald added a project: All.
python3kgae requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Switch to opt -p=passname


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D139725

Files:
  llvm/test/CodeGen/DirectX/min_vec_size.ll


Index: llvm/test/CodeGen/DirectX/min_vec_size.ll
===================================================================
--- llvm/test/CodeGen/DirectX/min_vec_size.ll
+++ llvm/test/CodeGen/DirectX/min_vec_size.ll
@@ -1,4 +1,4 @@
-; RUN: opt -S -vector-combine < %s | FileCheck %s
+; RUN: opt -S -p=vector-combine < %s | FileCheck %s
 
 target datalayout = "e-m:e-p:32:32-i1:32-i8:8-i16:16-i32:32-i64:64-f16:16-f32:32-f64:64-n8:16:32:64"
 target triple = "dxil-unknown-shadermodel6.7-library"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139725.481676.patch
Type: text/x-patch
Size: 488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221209/4de7a40e/attachment.bin>


More information about the llvm-commits mailing list