[opt][NPM] Pin -lower-amx-type to legacy PM
authorArthur Eubanks <aeubanks@google.com>
Mon, 14 Dec 2020 03:13:48 +0000 (19:13 -0800)
committerArthur Eubanks <aeubanks@google.com>
Mon, 14 Dec 2020 03:16:20 +0000 (19:16 -0800)
This is part of the codegen pipeline.

llvm/tools/opt/opt.cpp

index ad9dc2d..d7a39c9 100644 (file)
@@ -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;