From: Roman Lebedev Date: Wed, 7 Dec 2022 23:27:17 +0000 (+0300) Subject: [NFC] Port all ConstraintElimination tests to `-passes=` syntax X-Git-Tag: upstream/17.0.6~24850 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=27d1d8bcdbb024845df7417187720c7f8d94cd60;p=platform%2Fupstream%2Fllvm.git [NFC] Port all ConstraintElimination tests to `-passes=` syntax --- 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 7d4a941..e7ea234 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 fa0ea26..21abc75 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(