[llvm] [LegacyPM][DirectX] Add legacy scalarizer back for use in the DirectX backend (PR #107427)

Farzon Lotfi via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 5 10:18:08 PDT 2024


================
@@ -375,6 +375,7 @@ static bool shouldPinPassToLegacyPM(StringRef Pass) {
       "fix-irreducible",
       "expand-large-fp-convert",
       "callbrprepare",
+      "scalarizer",
----------------
farzonl wrote:

we can use the new pass manager in opt. However, since we are bringing back the legacy pass manager Justin advised me that we should be able to invoke it.  

In fact the original reason this pass was removed was because there were no more scalarizer test cases. If we don't have these tests then someone might come and remove the pass again as untested. 

https://github.com/llvm/llvm-project/pull/107427


More information about the llvm-commits mailing list