Strip the pointer casts off of allocas so that the selection DAG can find them.
authorBill Wendling <isanbard@gmail.com>
Tue, 1 May 2012 22:50:45 +0000 (22:50 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 1 May 2012 22:50:45 +0000 (22:50 +0000)
commit95dd4420419a6daae6304ed490a50537094ed488
tree6708c49e7890e72dd4af36deaec6f57372f51ba6
parent902337092fef14ce2519b4c93c37d72bf66ce768
Strip the pointer casts off of allocas so that the selection DAG can find them.
PR10799

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155954 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
test/CodeGen/X86/GC/cg-O0.ll [new file with mode: 0644]