From: Craig Topper Date: Sat, 11 Aug 2018 06:42:49 +0000 (+0000) Subject: [X86] Remove ADD8mi and ADDmr from the macro fusion shouldScheduleAdjacent. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=616eeb827d35e420e9ab8cd6e01cd6974065a1e2;p=platform%2Fupstream%2Fllvm.git [X86] Remove ADD8mi and ADDmr from the macro fusion shouldScheduleAdjacent. The are RMW of memory operations. They aren't eligible for macro fusion. llvm-svn: 339497 --- diff --git a/llvm/lib/Target/X86/X86MacroFusion.cpp b/llvm/lib/Target/X86/X86MacroFusion.cpp index df3abb1..15e4b57 100644 --- a/llvm/lib/Target/X86/X86MacroFusion.cpp +++ b/llvm/lib/Target/X86/X86MacroFusion.cpp @@ -150,8 +150,6 @@ static bool shouldScheduleAdjacent(const TargetInstrInfo &TII, 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: