Fix a dagcombine to not generate loads of non-round integer types,
authorDan Gohman <gohman@apple.com>
Tue, 20 Jan 2009 01:06:45 +0000 (01:06 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 20 Jan 2009 01:06:45 +0000 (01:06 +0000)
commitf5add58549fe8ecd9a15cbb7c230282bd693516b
tree24b5e68ebdff5feaf033ab442492604dcb224113
parentc2997f4a34eb544ca6ec85a5c9190feb998fc7a8
Fix a dagcombine to not generate loads of non-round integer types,
as its comment says, even in the case where it will be generating
extending loads. This fixes PR3216.

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