[llvm] r339497 - [X86] Remove ADD8mi and ADDmr from the macro fusion shouldScheduleAdjacent.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 10 23:42:49 PDT 2018


Author: ctopper
Date: Fri Aug 10 23:42:49 2018
New Revision: 339497

URL: http://llvm.org/viewvc/llvm-project?rev=339497&view=rev
Log:
[X86] Remove ADD8mi and ADDmr from the macro fusion shouldScheduleAdjacent.

The are RMW of memory operations. They aren't eligible for macro fusion.

Modified:
    llvm/trunk/lib/Target/X86/X86MacroFusion.cpp

Modified: llvm/trunk/lib/Target/X86/X86MacroFusion.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86MacroFusion.cpp?rev=339497&r1=339496&r2=339497&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86MacroFusion.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86MacroFusion.cpp Fri Aug 10 23:42:49 2018
@@ -150,8 +150,6 @@ static bool shouldScheduleAdjacent(const
   case X86::ADD64rr:
   case X86::ADD64rr_DB:
   case X86::ADD8i8:
-  case X86::ADD8mi:
-  case X86::ADD8mr:
   case X86::ADD8ri:
   case X86::ADD8rm:
   case X86::ADD8rr:




More information about the llvm-commits mailing list