De-constify pointers to Type since they can't be modified. NFC
[oota-llvm.git] / lib / Target / NVPTX / NVPTXISelDAGToDAG.h
index 6d845c9d5d1875229c079add39e4a16e820c5a9e..fe20580c83a20b00b94e2a2b495e457ac2e5b816 100644 (file)
@@ -71,8 +71,8 @@ private:
   SDNode *SelectSurfaceIntrinsic(SDNode *N);
   SDNode *SelectBFE(SDNode *N);
         
-  inline SDValue getI32Imm(unsigned Imm) {
-    return CurDAG->getTargetConstant(Imm, MVT::i32);
+  inline SDValue getI32Imm(unsigned Imm, SDLoc DL) {
+    return CurDAG->getTargetConstant(Imm, DL, MVT::i32);
   }
 
   // Match direct address complex pattern.