aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/MemoryDependenceAnalysis.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
commit325eeb1cd7c3247ead1513204bc9cf4b6e883653 (patch)
tree4e02166fa21871f7f77097284b7f1e5aba28af3c /lib/Analysis/MemoryDependenceAnalysis.cpp
parent5036ce4a64caaeaff4b1f8f1c91836cc2e49a455 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130238 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/MemoryDependenceAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions