[LLVMbugs] [Bug 3976] Assert in TargetLowering::SimplifySetCC when using intergers >= 256 bits

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 12 05:44:48 PDT 2015


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

Paweł Bylica <chfast at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |chfast at gmail.com
         Resolution|FIXED                       |---

--- Comment #6 from Paweł Bylica <chfast at gmail.com> ---
The assertion failure can still occur.

Test case:
define i1 @test_ult(i256 %a) nounwind {
  %1 = icmp ult i256 %a, -6432394258550908438
  ret i1 %1
}

Possible fix:
http://reviews.llvm.org/D9147

If you think Damien's fix is better (using APInt instead of reducing to
int64_t) I can apply it to current code too.

-- 
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/20150512/1b465180/attachment.html>


More information about the llvm-bugs mailing list