mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
Revert: 156550 "ARM: peephole optimization to remove cmp instruction"
This commit broke an external linux bot and gave a compile-time warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156556 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user