Attempt to fix the mingw32 bot.

This should hopefully fix
http://lab.llvm.org:8011/builders/clang-x86_64-darwin11-self-mingw32

Merged from r182446
Author: Rafael Espindola <rafael.espindola@gmail.com>
Date:   Wed May 22 02:30:47 2013 +0000

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_33@190579 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Tom Stellard 2013-09-12 03:18:11 +00:00
parent 07c8da8d24
commit 3001340c23

View File

@ -338,9 +338,8 @@ SDValue SITargetLowering::LowerBRCOND(SDValue BRCOND,
return Chain; return Chain;
} }
#define RSRC_DATA_FORMAT 0xf00000000000
SDValue SITargetLowering::LowerSTORE(SDValue Op, SelectionDAG &DAG) const { SDValue SITargetLowering::LowerSTORE(SDValue Op, SelectionDAG &DAG) const {
const uint64_t RSRC_DATA_FORMAT = 0xf00000000000LL;
StoreSDNode *StoreNode = cast<StoreSDNode>(Op); StoreSDNode *StoreNode = cast<StoreSDNode>(Op);
SDValue Chain = Op.getOperand(0); SDValue Chain = Op.getOperand(0);
SDValue Value = Op.getOperand(1); SDValue Value = Op.getOperand(1);
@ -351,9 +350,9 @@ SDValue SITargetLowering::LowerSTORE(SDValue Op, SelectionDAG &DAG) const {
return SDValue(); return SDValue();
} }
SDValue SrcSrc = DAG.getNode(ISD::BUILD_PAIR, DL, MVT::i128, SDValue Zero = DAG.getConstant(0, MVT::i64);
DAG.getConstant(0, MVT::i64), SDValue Format = DAG.getConstant(RSRC_DATA_FORMAT, MVT::i64);
DAG.getConstant(RSRC_DATA_FORMAT, MVT::i64)); SDValue SrcSrc = DAG.getNode(ISD::BUILD_PAIR, DL, MVT::i128, Zero, Format);
SDValue Ops[2]; SDValue Ops[2];
Ops[0] = DAG.getNode(AMDGPUISD::BUFFER_STORE, DL, MVT::Other, Chain, Ops[0] = DAG.getNode(AMDGPUISD::BUFFER_STORE, DL, MVT::Other, Chain,