Added support to allow clients to custom widen. For X86, custom widen vectors for
authorMon P Wang <wangmp@apple.com>
Mon, 30 Nov 2009 02:42:02 +0000 (02:42 +0000)
committerMon P Wang <wangmp@apple.com>
Mon, 30 Nov 2009 02:42:02 +0000 (02:42 +0000)
commitcd6e725f21852e2f8cdf5fd0e65eb42c224776f8
tree4eed65324a48a41c7531edebab0581b8d1d422c7
parent366429b400c9ec41fbba7c24ed7d0a100e421136
Added support to allow clients to custom widen. For X86, custom widen vectors for
divide/remainder since these operations can trap by unroll them and adding undefs
for the resulting vector.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90108 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAG.h
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
lib/CodeGen/SelectionDAG/LegalizeTypes.h
lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/Target/X86/X86ISelLowering.cpp