[llvm-branch-commits] [llvm] 655011c - [opt][NPM] Pin -lower-amx-type to legacy PM

Arthur Eubanks via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Dec 13 19:20:45 PST 2020


Author: Arthur Eubanks
Date: 2020-12-13T19:16:20-08:00
New Revision: 655011c7134878a24ed690339cfae9dc3d6c12f9

URL: https://github.com/llvm/llvm-project/commit/655011c7134878a24ed690339cfae9dc3d6c12f9
DIFF: https://github.com/llvm/llvm-project/commit/655011c7134878a24ed690339cfae9dc3d6c12f9.diff

LOG: [opt][NPM] Pin -lower-amx-type to legacy PM

This is part of the codegen pipeline.

Added: 
    

Modified: 
    llvm/tools/opt/opt.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp
index ad9dc2d0774a..d7a39c911811 100644
--- a/llvm/tools/opt/opt.cpp
+++ b/llvm/tools/opt/opt.cpp
@@ -486,7 +486,8 @@ static bool shouldPinPassToLegacyPM(StringRef Pass) {
                                           "indirectbr-expand",
                                           "generic-to-nvvm",
                                           "expandmemcmp",
-                                          "loop-reduce"};
+                                          "loop-reduce",
+                                          "lower-amx-type"};
   for (const auto &P : PassNamePrefix)
     if (Pass.startswith(P))
       return true;


        


More information about the llvm-branch-commits mailing list