[CodeGenPrepare] Handle properly the promotion of operands when this does not
authorQuentin Colombet <qcolombet@apple.com>
Mon, 22 Dec 2014 18:11:52 +0000 (18:11 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Mon, 22 Dec 2014 18:11:52 +0000 (18:11 +0000)
commit7b885653345311402354b3e9e948d5ad0badb962
tree28e2de158b6ce461755d66c609b9337e5fe7c018
parentc1aa521fb4dd2fa3a9c166e45d70f320adea750f
[CodeGenPrepare] Handle properly the promotion of operands when this does not
generate instructions.

Fixes PR21978.
Related to <rdar://problem/18310086>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224717 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenPrepare.cpp
test/CodeGen/X86/codegen-prepare-extload.ll