[llvm-bugs] [Bug 40890] After r349561, Assertion failed: (EVResult.Val.isInt() && "Expression did not evaluate to integer"), function EvaluateKnownConstInt, file tools/clang/lib/AST/ExprConstant.cpp, line 11056.

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 8 01:17:12 PST 2019


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

Hans Wennborg <hans at chromium.org> changed:

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

--- Comment #11 from Hans Wennborg <hans at chromium.org> ---
(In reply to Hans Wennborg from comment #7)
> (In reply to Hans Wennborg from comment #6)
> > Taking a stab at this here: https://reviews.llvm.org/D58821
> 
> Committed in r355491.
> 
> I'll merge that to release_80 if it looks good after baking a day or two, so
> keeping the bug open.

Merged in r355674.


> > It looks like Jörg fixed that last week with r354937. I will get that merged
> > to release_80 as well.
> 
> Indeed, I've applied this locally and it fixes those errors.

Merged that in r355673.

> > Note to self: let's add a test for this too, e.g.
> > 
> > void foo(void)
> > {
> >   __asm__ __volatile__("movabsq %0, %%rax" : : "n"(4624529908474429119));
> > }
> 
> Yes, that is probably nice to have.

Committed in r355670.

-- 
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/20190308/17326233/attachment.html>


More information about the llvm-bugs mailing list