diff options
author | Dan Gohman <gohman@apple.com> | 2008-04-10 18:43:06 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-04-10 18:43:06 +0000 |
commit | eee962e1cebb1b70ccd3f5d35f3a5a8c9ba942b5 (patch) | |
tree | d90f6ccf109abe8b81158ffe74a3dfae18b24235 /lib/System/Unix/Signals.inc | |
parent | 172b70c62a315de654a4d1683dbb5544e67afa90 (diff) |
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/System/Unix/Signals.inc')
0 files changed, 0 insertions, 0 deletions