<div dir="ltr">Ah, thanks Matt! Forgot that.<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 22, 2016 at 2:22 PM, Matt Arsenault <span dir="ltr"><<a href="mailto:arsenm2@gmail.com" target="_blank">arsenm2@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><span class=""><br><div><blockquote type="cite"><div>On Jul 22, 2016, at 14:18, Welson Sun via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:</div><br><div><div dir="ltr" style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div>After worked around the problem in SimplifyCFG.cpp (calling isCast() instead of comparing opcode), I hit another gcc crash for FunctionImport.cpp line 480, which I have no idea what's wrong with the code. "Luckily", I found gcc4.8.2 and gave it a try, both crashes are gone.</div><div><br></div><div><b>New problem though:</b></div><div><div>/llvm-clang-trunk/src/tools/clang/lib/CodeGen/CGBuiltin.cpp: In member function ?llvm::Value* clang::CodeGen::CodeGenFunction::EmitAMDGPUBuiltinExpr(unsigned int, const clang::CallExpr*)?:</div><div>/llvm-clang-trunk/src/tools/clang/lib/CodeGen/CGBuiltin.cpp:7283:39: error:<span> </span><b>?r600_rsq? is not a member of ?llvm::Intrinsic?</b></div><div>     return emitUnaryBuiltin(*this, E, Intrinsic::r600_rsq);</div><div>                                       ^</div><div>/llvm-clang-trunk/src/tools/clang/lib/CodeGen/CGBuiltin.cpp:7289:39: error:<span> </span><b>?AMDGPU_ldexp? is not a member of ?llvm::Intrinsic?</b></div><div>     return emitFPIntBuiltin(*this, E, Intrinsic::AMDGPU_ldexp);</div><div>                                       ^</div></div><div><br></div><div>Actually, if I didn't configure to target AMDGPU, why bothering compiling these code?</div></div></div></blockquote></div><br></span><div>Your clang is out of date. Intrinsics for all targets for now are included in every build</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">- Welson<br><div><div><div><br></div></div></div></div></div>
</div>