[llvm-bugs] [Bug 50850] ICE on valid code with -O1: Assertion `(i >= FTy->getNumParams() || FTy->getParamType(i) == Args[i]->getType()) && "Calling a function with a bad signature!"' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Aug 15 15:40:03 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=50850

Sanjay Patel <spatel+llvm at rotateright.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Fixed By Commit(s)|                            |8721490d3859 ca637014f148
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
                 CC|                            |spatel+llvm at rotateright.com

--- Comment #1 from Sanjay Patel <spatel+llvm at rotateright.com> ---
This is another case of lax libcall function signature matching.
It requires a target (eg, Linux not macOS) that has "bcmp" to trigger.

Should be fixed with:
https://reviews.llvm.org/rGca637014f148

This required changing a big pile of x86 regression tests:
https://reviews.llvm.org/rG8721490d3859

...and the bug has probably been around for a long time without anyone
noticing, so I'm marking as fixed instead of requesting backporting to the 13.0
release branch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210815/0d73e650/attachment.html>


More information about the llvm-bugs mailing list