[llvm] AMDGPU/NewPM: Port SIFoldOperands to new pass manager (PR #105801)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 23 06:15:41 PDT 2024
================
@@ -1,5 +1,6 @@
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=amdgcn -mcpu=gfx900 -mattr=+enable-flat-scratch -run-pass=si-fold-operands -verify-machineinstrs -o - %s | FileCheck -check-prefix=GCN %s
+# RUN: llc -mtriple=amdgcn -mcpu=gfx900 -mattr=+enable-flat-scratch -passes=si-fold-operands -verify-machineinstrs -o - %s | FileCheck -check-prefix=GCN %s
----------------
arsenm wrote:
I don't want to double the number of run lines to test the pass itself. Just have a couple with the two forms? If you want to update all the tests, you can just use the new form
https://github.com/llvm/llvm-project/pull/105801
More information about the llvm-commits
mailing list