[llvm-bugs] [Bug 49830] LLVM 12 regression: aarch64 APInt.h:1634: uint64_t llvm::APInt::getZExtValue() const: Assertion `getActiveBits() <= 64 && "Too many bits for uint64_t"' failed
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Apr 9 11:46:12 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=49830
Amara Emerson <aemerson at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #9 from Amara Emerson <aemerson at apple.com> ---
Huh, this is already fixed on trunk:
commit c2b322fc19e829162ed4c7dcd04d9e9b2cd4e66c
Author: Tim Northover <t.p.northover at gmail.com>
Date: Mon Feb 1 12:43:33 2021 +0000
GlobalISel: check type size before getZExtValue()ing it.
Otherwise getZExtValue() asserts.
I've cherry-picked it to release/12.x in fa0971b87fb2
--
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/20210409/4fe529cf/attachment.html>
More information about the llvm-bugs
mailing list