[llvm] 27d1d8b - [NFC] Port all ConstraintElimination tests to `-passes=` syntax
Roman Lebedev via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 7 15:39:21 PST 2022
Author: Roman Lebedev
Date: 2022-12-08T02:38:41+03:00
New Revision: 27d1d8bcdbb024845df7417187720c7f8d94cd60
URL: https://github.com/llvm/llvm-project/commit/27d1d8bcdbb024845df7417187720c7f8d94cd60
DIFF: https://github.com/llvm/llvm-project/commit/27d1d8bcdbb024845df7417187720c7f8d94cd60.diff
LOG: [NFC] Port all ConstraintElimination tests to `-passes=` syntax
Added:
Modified:
llvm/test/Transforms/ConstraintElimination/geps-inbounds-precondition-ub-in-use-blocks.ll
llvm/test/Transforms/ConstraintElimination/transfer-unsigned-facts-to-signed.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/ConstraintElimination/geps-inbounds-precondition-ub-in-use-blocks.ll b/llvm/test/Transforms/ConstraintElimination/geps-inbounds-precondition-ub-in-use-blocks.ll
index 7d4a941e36547..e7ea234591cae 100644
--- a/llvm/test/Transforms/ConstraintElimination/geps-inbounds-precondition-ub-in-use-blocks.ll
+++ b/llvm/test/Transforms/ConstraintElimination/geps-inbounds-precondition-ub-in-use-blocks.ll
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -constraint-elimination -S %s | FileCheck %s
+; RUN: opt -passes=constraint-elimination -S %s | FileCheck %s
; Tests for using inbounds information from GEPs where the GEP only causes UB in the use blocks.
diff --git a/llvm/test/Transforms/ConstraintElimination/transfer-unsigned-facts-to-signed.ll b/llvm/test/Transforms/ConstraintElimination/transfer-unsigned-facts-to-signed.ll
index fa0ea2616792f..21abc75d9ba25 100644
--- a/llvm/test/Transforms/ConstraintElimination/transfer-unsigned-facts-to-signed.ll
+++ b/llvm/test/Transforms/ConstraintElimination/transfer-unsigned-facts-to-signed.ll
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -constraint-elimination -S %s | FileCheck %s
+; RUN: opt -passes=constraint-elimination -S %s | FileCheck %s
define i1 @idx_known_positive_via_len_1(i8 %len, i8 %idx) {
; CHECK-LABEL: @idx_known_positive_via_len_1(
More information about the llvm-commits
mailing list