OSDN Git Service

Merge information about the number of zero, one, and sign bits of live-out registers
authorCameron Zwarich <zwarich@apple.com>
Tue, 22 Feb 2011 00:46:27 +0000 (00:46 +0000)
committerCameron Zwarich <zwarich@apple.com>
Tue, 22 Feb 2011 00:46:27 +0000 (00:46 +0000)
commit92efda7e9183ae16bde7a3ad96b682e779d89cf3
treec95dc6ff9ae0c0bf7b6a7698974efbddf606a779
parent63a8dae64dea89ae4a6f93ee17cf3fbbc2815084
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@126170 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/FunctionLoweringInfo.h
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
test/CodeGen/X86/phi-constants.ll [new file with mode: 0644]