Merge information about the number of zero, one, and sign bits of live-out
authorCameron Zwarich <zwarich@apple.com>
Thu, 24 Feb 2011 10:00:25 +0000 (10:00 +0000)
committerCameron Zwarich <zwarich@apple.com>
Thu, 24 Feb 2011 10:00:25 +0000 (10:00 +0000)
commit8ca814c4e0a39e1fcac023f0fb014917da07a796
treeeaf3b0bf8577f6d22de6532276a3e8333ae0c1bb
parent9b6af8de58140566a0e6567508bf906027422e7c
Merge information about the number of zero, one, and sign bits of live-out
registers at phis. This enables us to eliminate a lot of pointless zexts during
the DAGCombine phase. This fixes <rdar://problem/8760114>.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126380 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/FunctionLoweringInfo.h
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
test/CodeGen/X86/phi-constants.ll [new file with mode: 0644]