summaryrefslogtreecommitdiff
path: root/lib/Support
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-04-10 18:43:06 +0000
committerDan Gohman <gohman@apple.com>2008-04-10 18:43:06 +0000
commiteee962e1cebb1b70ccd3f5d35f3a5a8c9ba942b5 (patch)
treed90f6ccf109abe8b81158ffe74a3dfae18b24235 /lib/Support
parent172b70c62a315de654a4d1683dbb5544e67afa90 (diff)
downloadllvm-eee962e1cebb1b70ccd3f5d35f3a5a8c9ba942b5.tar.gz
llvm-eee962e1cebb1b70ccd3f5d35f3a5a8c9ba942b5.tar.bz2
llvm-eee962e1cebb1b70ccd3f5d35f3a5a8c9ba942b5.tar.xz
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
Diffstat (limited to 'lib/Support')
0 files changed, 0 insertions, 0 deletions