[DebugInfo] Add debug locations to constant SD nodes
[oota-llvm.git] / lib / Target / PowerPC / PPCInstrHTM.td
index 20e6a628632a96f239e7ec1e4627af4894095642..6c4e2129087cabb135101cadff829482a94fb6c9 100644 (file)
@@ -17,7 +17,7 @@
 def HasHTM : Predicate<"PPCSubTarget->hasHTM()">;
 
 def HTM_get_imm : SDNodeXForm<imm, [{
-  return getI32Imm (N->getZExtValue());
+  return getI32Imm (N->getZExtValue(), SDLoc(N));
 }]>;
 
 let hasSideEffects = 1, usesCustomInserter = 1  in {