<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Copy paste from TargetMaterializeConstant ;) The file is a little bit of a mess when it comes to function names. Should I do a cleanup and update all the function names while I am at it?<div><br></div><div>-Juergen<br><div><br><div><div>On Aug 13, 2014, at 6:30 PM, Eric Christopher <<a href="mailto:echristo@gmail.com">echristo@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto;"><br><br>
-/// materializeRegForValue - Helper for getRegForValue. This function is<br>
-/// called when the value isn't already available in a register and must<br>
-/// be materialized with new instructions.<br>
-unsigned FastISel::<u></u>materializeRegForValue(const Value *V, MVT VT) {<br>
+unsigned FastISel::MaterializeConstant(<u></u>const Value *V, MVT VT) {<br>
   unsigned Reg = 0;<br>
-<br></blockquote><div><br></div><div>Coding standard has functions with lower case names? :)</div><div><br></div><div> -eric</div></div>
</blockquote></div><br></div></div></body></html>