[x86] Fix crashes in lowering bitcast instructions with the widening
authorChandler Carruth <chandlerc@gmail.com>
Thu, 3 Jul 2014 03:43:47 +0000 (03:43 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 3 Jul 2014 03:43:47 +0000 (03:43 +0000)
commit739b6ada991bfabdf801336e463d58a0e87fd724
tree59f2dd6ed0ce6ddc69dcaaa9acd7046277241155
parentece7217f70c41a2b983c937ce292540dc33b0b40
[x86] Fix crashes in lowering bitcast instructions with the widening
mode.

This also runs the test in that mode which would reproduce the crash.
What I love is that *every single FIXME* in the test is addressed by
switching to widening.

llvm-svn: 212254
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/lower-bitcast.ll