[llvm-bugs] [Bug 18912] Optimizer should consider "maythrow" calls (those without "nounwind) as having side effects.

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Feb 22 09:44:43 PST 2016


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

Andrew Trick <atrick at apple.com> changed:

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

--- Comment #2 from Andrew Trick <atrick at apple.com> ---
The test case in this bug report is fixed by
http://reviews.llvm.org/rL256728.

I'm closing this because I don't have a test case and I no longer think it
makes much sense to mark may-unwind calls "readonly". An unwind path always
touches some memory. That fact that it doesn't alias with LLVM-visible memory
access can be handled by alias analysis.

-- 
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/20160222/59dade32/attachment.html>


More information about the llvm-bugs mailing list