[llvm] 2b405e7 - [NFC][DX] Update test case to use new opt flags
Chris Bieneman via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 9 11:19:33 PST 2022
Author: Chris Bieneman
Date: 2022-12-09T13:16:49-06:00
New Revision: 2b405e7e049b754224d90fc630b44ed26fef0aab
URL: https://github.com/llvm/llvm-project/commit/2b405e7e049b754224d90fc630b44ed26fef0aab
DIFF: https://github.com/llvm/llvm-project/commit/2b405e7e049b754224d90fc630b44ed26fef0aab.diff
LOG: [NFC][DX] Update test case to use new opt flags
The legacy `-<pass>` options are now erroring out. This updates to the
new pass manager option.
Added:
Modified:
llvm/test/CodeGen/DirectX/min_vec_size.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/DirectX/min_vec_size.ll b/llvm/test/CodeGen/DirectX/min_vec_size.ll
index 6ae61fd518d56..4f73f5ab8301f 100644
--- a/llvm/test/CodeGen/DirectX/min_vec_size.ll
+++ b/llvm/test/CodeGen/DirectX/min_vec_size.ll
@@ -1,4 +1,4 @@
-; RUN: opt -S -vector-combine < %s | FileCheck %s
+; RUN: opt -S -passes=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"
More information about the llvm-commits
mailing list