[llvm-bugs] [Bug 36424] input module is broken! (Intrinsic has incorrect argument type!)

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Mar 8 00:13:07 PST 2018


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

Jonas Paulsson <paulsson at linux.vnet.ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #7 from Jonas Paulsson <paulsson at linux.vnet.ibm.com> ---
(In reply to Daniel Neilson from comment #6)
> I think Nemanja has likely hit the nail on the head. Specifically, he's
> referring to this change:
> r322965 | dneilson | 2018-01-19 11:13:12 -0600 (Fri, 19 Jan 2018) | 72 lines
> Remove alignment argument from memcpy/memmove/memset in favour of alignment
> attributes (Step 1)
> 
> In this case, I suspect that you're running an older build of bugpoint with
> a newer IR file; and by older, I mean one that was built before the above
> change was landed. I just tried your process from comment 3 on my local
> machine with ToT and both llc & bugpoint freshly built; I did not encounter
> the issue that you are reporting.
> 
> Please check the build date of the bugpoint executable that you're using. If
> it's old at all, then please try rebuilding it. If the issue still persists
> with an up-to-date and freshly built bugpoint then I guess there's more
> digging to do, but I doubt it'll persist.

Ah... First I found this unlikely, as I always use the bugpoint in my local
build, so it should always be up to date. It however turns out that bugpoint
looks for opt (to run the verifier) in $PATH, and I had an older opt in my PATH
variable.

Big thanks to both of you!

-- 
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/20180308/2690c332/attachment-0001.html>


More information about the llvm-bugs mailing list