diff options
author | Nadav Rotem <nadav.rotem@intel.com> | 2011-07-14 11:11:14 +0000 |
---|---|---|
committer | Nadav Rotem <nadav.rotem@intel.com> | 2011-07-14 11:11:14 +0000 |
commit | d0f3ef807ee4210b97a7a6bc4231e89403145b83 (patch) | |
tree | 569c1d27bd04ca39e48a186411c540953da35ff4 /lib/VMCore/Function.cpp | |
parent | aeb86fab3e875b6ffebea42f4f4dd3e7791ae365 (diff) |
[VECTOR-SELECT]
During type legalization we often use the SIGN_EXTEND_INREG SDNode.
When this SDNode is legalized during the LegalizeVector phase, it is
scalarized because non-simple types are automatically marked to be expanded.
In this patch we add support for lowering SIGN_EXTEND_INREG manually.
This fixes CodeGen/X86/vec_sext.ll when running with the '-promote-elements'
flag.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135144 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Function.cpp')
0 files changed, 0 insertions, 0 deletions