[llvm] 6db544e - [NFC] Port all CanonicalizeFreezeInLoops tests to `-passes=` syntax
Roman Lebedev via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 7 15:39:16 PST 2022
Author: Roman Lebedev
Date: 2022-12-08T02:38:40+03:00
New Revision: 6db544e1d44c12e1e15ef4829da1266a85dc06ab
URL: https://github.com/llvm/llvm-project/commit/6db544e1d44c12e1e15ef4829da1266a85dc06ab
DIFF: https://github.com/llvm/llvm-project/commit/6db544e1d44c12e1e15ef4829da1266a85dc06ab.diff
LOG: [NFC] Port all CanonicalizeFreezeInLoops tests to `-passes=` syntax
Added:
Modified:
llvm/test/Transforms/CanonicalizeFreezeInLoops/func_from_mcf_r.ll
llvm/test/Transforms/CanonicalizeFreezeInLoops/nonsteps-preserve-flags.ll
llvm/test/Transforms/CanonicalizeFreezeInLoops/onephi.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/CanonicalizeFreezeInLoops/func_from_mcf_r.ll b/llvm/test/Transforms/CanonicalizeFreezeInLoops/func_from_mcf_r.ll
index 44c931bb578ef..742d409bdddbf 100644
--- a/llvm/test/Transforms/CanonicalizeFreezeInLoops/func_from_mcf_r.ll
+++ b/llvm/test/Transforms/CanonicalizeFreezeInLoops/func_from_mcf_r.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -canon-freeze -S | FileCheck %s
+; RUN: opt < %s -passes=canon-freeze -S | FileCheck %s
; REQUIRES: aarch64-registered-target
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
target triple = "aarch64-unknown-linux-gnu"
diff --git a/llvm/test/Transforms/CanonicalizeFreezeInLoops/nonsteps-preserve-flags.ll b/llvm/test/Transforms/CanonicalizeFreezeInLoops/nonsteps-preserve-flags.ll
index 44998ef880b8f..20cbfbc8642ba 100644
--- a/llvm/test/Transforms/CanonicalizeFreezeInLoops/nonsteps-preserve-flags.ll
+++ b/llvm/test/Transforms/CanonicalizeFreezeInLoops/nonsteps-preserve-flags.ll
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -canon-freeze -S | FileCheck %s
+; RUN: opt < %s -passes=canon-freeze -S | FileCheck %s
declare void @call(i32)
define void @add(i32 %init, i32 %n) {
diff --git a/llvm/test/Transforms/CanonicalizeFreezeInLoops/onephi.ll b/llvm/test/Transforms/CanonicalizeFreezeInLoops/onephi.ll
index ca7ed4d71133c..8d13859aa90bf 100644
--- a/llvm/test/Transforms/CanonicalizeFreezeInLoops/onephi.ll
+++ b/llvm/test/Transforms/CanonicalizeFreezeInLoops/onephi.ll
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -canon-freeze -S | FileCheck %s
+; RUN: opt < %s -passes=canon-freeze -S | FileCheck %s
; A set of tests that have one phi node
declare void @call(i32)
declare i32 @get_step()
More information about the llvm-commits
mailing list