[PATCH] D105475: [WIP][Test][NewPM] Migrating llvm/test/Transforms/{GVNHoist,GVNSink} to use `opt -passes=foo`

Shivam Gupta via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 6 05:52:35 PDT 2021


xgupta added a comment.

I mark this revision as WIP because the automatic script <https://gist.github.com/f49e9885a930a6b5f0932818ad06ac1d> is not yet complete. Out of 34 tests of llvm/test/Transforms/GVNHoist only 29 are passing and out of 9 tests of only 7 are passing. And it seems few passes are rename b/w New and legacy PM, for example, verify<memoryssa> was changes verify-memoryssa in Legacy PM.  And also -earlycse-debug-hash does not exist in NewPM as I can see from opt --print-passes.

I will look into more after a couple of days and fix the remaining issues and Also test & update the script for other lit tests that use opt tool.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105475/new/

https://reviews.llvm.org/D105475



More information about the llvm-commits mailing list