summaryrefslogtreecommitdiff
path: root/lib/IR/Value.cpp
diff options
context:
space:
mode:
authorWeiming Zhao <weimingz@codeaurora.org>2014-05-13 00:40:58 +0000
committerWeiming Zhao <weimingz@codeaurora.org>2014-05-13 00:40:58 +0000
commit0449d522a66512af6e7b999d46445c7f7e4b8536 (patch)
treea13fa03ee781ae3062773d6ea6fc7aaa9188cb0f /lib/IR/Value.cpp
parent5204fedd35f17c093dcdc90b759b416aaa7fa977 (diff)
downloadllvm-0449d522a66512af6e7b999d46445c7f7e4b8536.tar.gz
llvm-0449d522a66512af6e7b999d46445c7f7e4b8536.tar.bz2
llvm-0449d522a66512af6e7b999d46445c7f7e4b8536.tar.xz
Folding into CSEL when there is ZEXT between SETCC and ADD
Normally, patterns like (add x, (setcc cc ...)) will be folded into (csel x, x+1, not cc). However, if there is a ZEXT after SETCC, they won't be folded. This patch recognizes the ZEXT and allows the generation of CSINC. This patch fixes bug 19680. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208660 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/Value.cpp')
0 files changed, 0 insertions, 0 deletions