Have X86 custom lowering for LegalizeTypes use
authorDuncan Sands <baldrick@free.fr>
Mon, 20 Oct 2008 15:56:33 +0000 (15:56 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 20 Oct 2008 15:56:33 +0000 (15:56 +0000)
commited294c46daa0ee9da1d5efffa57866b23a7cc4d9
tree1892d843a0f4e807821a1580fa361287f7817171
parent2bbeccdee1937f6cef9f8762595246f447162a4f
Have X86 custom lowering for LegalizeTypes use
LowerOperation if it doesn't know what else to do.
This methods should probably be factorized some,
but this is good enough for the moment.  Have
LowerATOMIC_BINARY_64 use EXTRACT_ELEMENT rather
than assuming the operand is a BUILD_PAIR (if it
is then getNode will automagically simplify the
EXTRACT_ELEMENT).  This way LowerATOMIC_BINARY_64
usable from LegalizeTypes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57831 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp