<div dir="ltr"><div><div><div><div>Hi <br></div> I have IR Code like<br><br>...<br></div><span style="color:rgb(0,0,255)">@path = private constant [6xi8] c"abcde\00"</span><br>...<br><br></div><div><br></div><div>--- Code from Pass --- <br></div><span style="color:rgb(0,0,255)">GlobalVariable * GVPath = ....  // contains @path</span><br><br></div>I want to convert "abcde" to StringRef.
Can you  help me with GlobalVariable API? 

<br><br><div><span style="color:rgb(0,0,255)">GlobalVariable::getInitializer() --> Constant*</span>  // How to get exact value äbcde from here?<br></div><div><div><br></div><div>~mahesh<br></div></div></div>