summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>2018-01-08 12:52:40 +0000
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>2018-01-08 12:52:40 +0000
commit22f208f034232181be547e7d16810272004f646e (patch)
tree546ffcf3e025e00c9b74783189947f0ebed8cdc4 /llvm
parentd17dabca31dc744ddeaf14610c948d5c8f4e0326 (diff)
downloadbcm5719-llvm-22f208f034232181be547e7d16810272004f646e.tar.gz
bcm5719-llvm-22f208f034232181be547e7d16810272004f646e.zip
[SystemZ] Comment fix in SystemZElimCompare.cpp
NFC Review: Ulrich Weigand llvm-svn: 321990
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZElimCompare.cpp7
1 files changed, 2 insertions, 5 deletions
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;
OpenPOWER on IntegriCloud