summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/AnalysisDeclContext.cpp
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2012-06-01 19:49:33 +0000
committerManman Ren <mren@apple.com>2012-06-01 19:49:33 +0000
commit879ca9d47d509471af3012b6d32f70757f5e7d4c (patch)
tree8601a847736e439b741d545a1bec524c97e12900 /clang/lib/Analysis/AnalysisDeclContext.cpp
parente873552091786a6ea09e28987f238ba4f799d7b3 (diff)
downloadbcm5719-llvm-879ca9d47d509471af3012b6d32f70757f5e7d4c.tar.gz
bcm5719-llvm-879ca9d47d509471af3012b6d32f70757f5e7d4c.zip
X86: peephole optimization to remove cmp instruction
This patch will optimize the following: sub r1, r3 cmp r3, r1 or cmp r1, r3 bge L1 TO sub r1, r3 bge L1 or ble L1 If the branch instruction can use flag from "sub", then we can eliminate the "cmp" instruction. llvm-svn: 157831
Diffstat (limited to 'clang/lib/Analysis/AnalysisDeclContext.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud