Skip to content
Commit 1b06c716 authored by Chris Lattner's avatar Chris Lattner
Browse files

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
parent 31b106d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment