summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ASTCommon.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-04-26 20:18:20 +0000
committerChris Lattner <sabre@nondot.org>2011-04-26 20:18:20 +0000
commit1b06c71668183c30c54704ed02a0071318295481 (patch)
treee88a8f81f79a875a613a784edb65e7a90d7d07bf /clang/lib/Serialization/ASTCommon.cpp
parent31b106d7dd64efee1cebd04a12bbd3a869443f5e (diff)
downloadbcm5719-llvm-1b06c71668183c30c54704ed02a0071318295481.tar.gz
bcm5719-llvm-1b06c71668183c30c54704ed02a0071318295481.zip
Transform: "icmp eq (trunc (lshr(X, cst1)), cst" to "icmp (and X, mask), cst"
when X has multiple uses. This is useful for exposing secondary optimizations, but the X86 backend isn't ready for this when X has a single use. For example, this can disable load folding. This is inching towards resolving PR6627. llvm-svn: 130238
Diffstat (limited to 'clang/lib/Serialization/ASTCommon.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud