From 22f208f034232181be547e7d16810272004f646e Mon Sep 17 00:00:00 2001 From: Jonas Paulsson Date: Mon, 8 Jan 2018 12:52:40 +0000 Subject: [SystemZ] Comment fix in SystemZElimCompare.cpp NFC Review: Ulrich Weigand llvm-svn: 321990 --- llvm/lib/Target/SystemZ/SystemZElimCompare.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'llvm/lib/Target/SystemZ') diff --git a/llvm/lib/Target/SystemZ/SystemZElimCompare.cpp b/llvm/lib/Target/SystemZ/SystemZElimCompare.cpp index 55f7a7b8d0d..a8e0ba4fb15 100644 --- a/llvm/lib/Target/SystemZ/SystemZElimCompare.cpp +++ b/llvm/lib/Target/SystemZ/SystemZElimCompare.cpp @@ -434,11 +434,8 @@ bool SystemZElimCompare::optimizeCompareZero( } // 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; -- cgit v1.2.3