[llvm] Scalarizer: Replace cl::opts with pass parameters (PR #110645)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 1 08:42:17 PDT 2024


================
@@ -0,0 +1,8 @@
+; RUN: not opt -passes='scalarizer<unknown>' -disable-output %s 2>&1 | FileCheck -check-prefix=UNKNOWNERR %s
+; RUN: not opt -passes='scalarizer<;>' -disable-output %s 2>&1 | FileCheck -check-prefix=UNKNOWNERR %s
+; RUN: not opt -passes='scalarizer<min-bits=>' -disable-output %s 2>&1 | FileCheck -check-prefix=MINBITS-EMPTY-ERR %s
+; RUN: not opt -passes='scalarizer<min-bits=x>' -disable-output %s 2>&1 | FileCheck -check-prefix=MINBITS-NOTINT-ERR %s
----------------
aeubanks wrote:

add check for `no-min-bits`

https://github.com/llvm/llvm-project/pull/110645


More information about the llvm-commits mailing list