Don't look for leaf values to store when lowering stores of
authorDan Gohman <gohman@apple.com>
Wed, 30 Jul 2008 18:36:51 +0000 (18:36 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 30 Jul 2008 18:36:51 +0000 (18:36 +0000)
commit90d33ee746f354030a4144c4ffa028599663615b
treea9e35f857c6511d63ebdb22017672cfafbf11577
parentd723f722b2457dd847ece84f9cfa7cfae33f9bb0
Don't look for leaf values to store when lowering stores of
empty structs. This fixes PR2612.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54226 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
test/CodeGen/Generic/empty-load-store.ll [new file with mode: 0644]