Skip to content
  • Manman Ren's avatar
    X86: peephole optimization to remove cmp instruction · c9656737
    Manman Ren authored
    For each Cmp, we check whether there is an earlier Sub which make Cmp
    redundant. We handle the case where SUB operates on the same source operands as
    Cmp, including the case where the two source operands are swapped.
    
    llvm-svn: 159838
    c9656737
Loading