diff options
author | Chris Lattner <sabre@nondot.org> | 2010-08-26 06:57:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-08-26 06:57:07 +0000 |
commit | 341fa09a3c842e8a0df3510d3f9af186ede976c9 (patch) | |
tree | b325e3c76d7e583339e030c5f6fb517f8ae8ed1f /lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | |
parent | 4bbdb4c78c7ae51c299ba180755919612d392af9 (diff) | |
download | external_llvm-341fa09a3c842e8a0df3510d3f9af186ede976c9.zip external_llvm-341fa09a3c842e8a0df3510d3f9af186ede976c9.tar.gz external_llvm-341fa09a3c842e8a0df3510d3f9af186ede976c9.tar.bz2 |
Add a hackaround for PR7993 which is causing failures on x86 builders that lack sse2.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112175 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index 849220a..433ba65 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -1314,6 +1314,8 @@ SDValue SelectionDAGLegalize::LegalizeOp(SDValue Op) { break; case TargetLowering::Expand: if (!TLI.isLoadExtLegal(ISD::EXTLOAD, SrcVT)) { + // FIXME: If SrcVT isn't legal, then this introduces an illegal + // type. SDValue Load = DAG.getLoad(SrcVT, dl, Tmp1, Tmp2, LD->getSrcValue(), LD->getSrcValueOffset(), LD->isVolatile(), LD->isNonTemporal(), |