summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PeepholeOptimizer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/PeepholeOptimizer.cpp')
-rw-r--r--llvm/lib/CodeGen/PeepholeOptimizer.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/CodeGen/PeepholeOptimizer.cpp b/llvm/lib/CodeGen/PeepholeOptimizer.cpp
index ab672c9c585..70b5020f541 100644
--- a/llvm/lib/CodeGen/PeepholeOptimizer.cpp
+++ b/llvm/lib/CodeGen/PeepholeOptimizer.cpp
@@ -31,15 +31,6 @@
// same flag that the "cmp" instruction sets and that "bz" uses, then we can
// eliminate the "cmp" instruction.
//
-// Another instance, in this code:
-//
-// sub r1, r3 | sub r1, imm
-// cmp r3, r1 or cmp r1, r3 | cmp r1, imm
-// bge L1
-//
-// If the branch instruction can use flag from "sub", then we can replace
-// "sub" with "subs" and eliminate the "cmp" instruction.
-//
// - Optimize Bitcast pairs:
//
// v1 = bitcast v0
OpenPOWER on IntegriCloud