[llvm] [X86] Early exit MIR AMX passes when AMX is unused (PR #94989)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 11 06:04:13 PDT 2024


================
@@ -237,11 +237,15 @@ void X86PreTileConfig::collectShapeInfo(MachineInstr &MI) {
 }
 
 bool X86PreTileConfig::runOnMachineFunction(MachineFunction &MF) {
+  X86MachineFunctionInfo *X86FI = MF.getInfo<X86MachineFunctionInfo>();
----------------
aengelke wrote:

Good point, opened #95105.

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


More information about the llvm-commits mailing list