llvm.org GIT mirror llvm / 6b42fad
Merging r168001 into 3.2 release branch NVPTXISelLowering.cpp: Fix warnings. [-Wunused-variable] git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_32@168378 91177308-0d34-0410-b5e6-96231b3b80d8 Pawel Wodnicki 6 years ago
1 changed file(s) with 4 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
873873 SDNode *Node = Op.getNode();
874874 LoadSDNode *LD = cast(Node);
875875 DebugLoc dl = Node->getDebugLoc();
876 ISD::LoadExtType ExtType = LD->getExtensionType();
877 assert(ExtType == ISD::NON_EXTLOAD) ;
878 EVT VT = Node->getValueType(0);
879 assert(VT == MVT::i1 && "Custom lowering for i1 load only");
876 assert(LD->getExtensionType() == ISD::NON_EXTLOAD) ;
877 assert(Node->getValueType(0) == MVT::i1 &&
878 "Custom lowering for i1 load only");
880879 SDValue newLD = DAG.getLoad(MVT::i8, dl, LD->getChain(), LD->getBasePtr(),
881880 LD->getPointerInfo(),
882881 LD->isVolatile(), LD->isNonTemporal(),
902901 SDValue Tmp1 = ST->getChain();
903902 SDValue Tmp2 = ST->getBasePtr();
904903 SDValue Tmp3 = ST->getValue();
905 EVT VT = Tmp3.getValueType();
906 assert(VT == MVT::i1 && "Custom lowering for i1 store only");
904 assert(Tmp3.getValueType() == MVT::i1 && "Custom lowering for i1 store only");
907905 unsigned Alignment = ST->getAlignment();
908906 bool isVolatile = ST->isVolatile();
909907 bool isNonTemporal = ST->isNonTemporal();