ping!<div class="gmail_extra"><br><br><div class="gmail_quote">2012/11/2 NAKAMURA Takumi <span dir="ltr"><<a href="mailto:geek4civic@gmail.com" target="_blank">geek4civic@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Make ReadDataFromGlobal() and FoldReinterpretLoadFromConstPtr() were not performed when target is big endian.<br>
<br>
It caused failure in Clang :: CodeGen___bitfield-promote.c on ppc.<br>
<br>
Some tests are made to check with both endian.<br>
<br>
<br>
<a href="http://llvm-reviews.chandlerc.com/D97" target="_blank">http://llvm-reviews.chandlerc.com/D97</a><br>
<br>
Files:<br>
  llvm/lib/Analysis/ConstantFolding.cpp<br>
  llvm/test/Transforms/ConstProp/loads.ll<br>
  llvm/test/Transforms/GVN/rle.ll<br>
  llvm/test/Transforms/InstCombine/2012-07-25-LoadPart.ll<br>
  llvm/test/Transforms/SCCP/loadtest.ll<br>
</blockquote></div><br></div>