Ping?<br><br><br><div class="gmail_quote">On Sat, Aug 4, 2012 at 10:57 PM, Logan Chien <span dir="ltr"><<a href="mailto:tzuhsiang.chien@gmail.com" target="_blank">tzuhsiang.chien@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear all,<br><br>  It seems that the target-independent code generator has some problem<br>while handling *atomic* load/store instruction with pointer type, such as:<br><br>  %0 = load atomic i32** %a0 singlethread unordered, align 4<br>

  store atomic i32* %a0, i32** %a1 singlethread unordered, align 4<br>  <span style="color:rgb(192,192,192)">; (read the patch for the complete test case)</span><br><br>  These instructions will cause SEGV when we are running llc.  This is due<br>

to the fact that llvm::EVT::getSizeInBits() does not support pointer type, which<br>is target-dependent.  We should translate the pointer type with<br>llvm::TargetLowering::getValueType().  I hope the attached patch can fix the<br>

problem.  Thanks for your reading.<br><br>Sincerely,<br>Logan<br>
</blockquote></div><br>