summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ASTReaderDecl.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
commitdd83691cc3f99670d6ae399e20954e2d52434ae3 (patch)
treeaa571ddd223dc08e0b27427a3ebff2a48e6d1b30 /clang/lib/Serialization/ASTReaderDecl.cpp
parentcddb255b5dcf8c114df119e45b4e586d25ba7093 (diff)
downloadbcm5719-llvm-dd83691cc3f99670d6ae399e20954e2d52434ae3.tar.gz
bcm5719-llvm-dd83691cc3f99670d6ae399e20954e2d52434ae3.zip
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. llvm-svn: 208660
Diffstat (limited to 'clang/lib/Serialization/ASTReaderDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud