llvm-6502/lib/Transforms
Dan Gohman eee962e1ce Teach InstCombine's ComputeMaskedBits to handle pointer expressions
in addition to integer expressions. Rewrite GetOrEnforceKnownAlignment
as a ComputeMaskedBits problem, moving all of its special alignment
knowledge to ComputeMaskedBits as low-zero-bits knowledge.

Also, teach ComputeMaskedBits a few basic things about Mul and PHI
instructions.

This improves ComputeMaskedBits-based simplifications in a few cases,
but more noticeably it significantly improves instcombine's alignment
detection for loads, stores, and memory intrinsics.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49492 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-10 18:43:06 +00:00
..
Hello Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Instrumentation Use Intrinsic::getDeclaration in more places. 2008-04-07 13:45:04 +00:00
IPO Disable an xform we've had for a long time, pow(x,0.5) -> sqrt. 2008-04-10 02:07:51 +00:00
Scalar Teach InstCombine's ComputeMaskedBits to handle pointer expressions 2008-04-10 18:43:06 +00:00
Utils Fix insert point handling for multiple return values. 2008-04-08 02:24:08 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00