[llvm] r321990 - [SystemZ] Comment fix in SystemZElimCompare.cpp

Jonas Paulsson via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 8 04:52:40 PST 2018


Author: jonpa
Date: Mon Jan  8 04:52:40 2018
New Revision: 321990

URL: http://llvm.org/viewvc/llvm-project?rev=321990&view=rev
Log:
[SystemZ]  Comment fix in SystemZElimCompare.cpp

NFC

Review: Ulrich Weigand

Modified:
    llvm/trunk/lib/Target/SystemZ/SystemZElimCompare.cpp

Modified: llvm/trunk/lib/Target/SystemZ/SystemZElimCompare.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SystemZ/SystemZElimCompare.cpp?rev=321990&r1=321989&r2=321990&view=diff
==============================================================================
--- llvm/trunk/lib/Target/SystemZ/SystemZElimCompare.cpp (original)
+++ llvm/trunk/lib/Target/SystemZ/SystemZElimCompare.cpp Mon Jan  8 04:52:40 2018
@@ -434,11 +434,8 @@ bool SystemZElimCompare::optimizeCompare
   }
 
   // Also do a forward search to handle cases where an instruction after the
-  // compare can be converted like
-  //
-  // LTEBRCompare %f0s, %f0s, implicit-def %cc LTEBRCompare %f0s, %f0s,
-  // implicit-def %cc %f2s = LER %f0s
-  //
+  // compare can be converted, like
+  // LTEBRCompare %f0s, %f0s; %f2s = LER %f0s  =>  LTEBRCompare %f2s, %f0s
   MBBI = Compare, MBBE = MBB.end();
   while (++MBBI != MBBE) {
     MachineInstr &MI = *MBBI;




More information about the llvm-commits mailing list