Displaying 2 results from an estimated 2 matches for "readnone_may_unwind".
2017 Jan 05
2
RFC: Allow readnone and readonly functions to throw exceptions
...lvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>> It is still only a function of its arguments, so it can be CSE'd.
> That's a good example -- we can CSE it without worrying about the
> memory state flowing in.
>
> In fact, if we have:
>
> *a = 10;
> call @readnone_may_unwind()
> *a = 20;
> call @readnone_may_unwind()
> *a = 30;
>
> then we can first transform this to:
>
> *a = 10;
> call @readnone_may_unwind()
> *a = 20;
> call @readnone_may_unwind() nounwind // only on this call (since we
> returned normally)
> *a = 30;
>
> a...
2017 Jan 05
2
RFC: Allow readnone and readonly functions to throw exceptions
On 01/05/2017 12:45 PM, Mehdi Amini wrote:
>
>> On Jan 5, 2017, at 10:39 AM, Hal Finkel via llvm-dev
>> <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>>
>>
>> On 01/05/2017 12:17 PM, Reid Kleckner wrote:
>>> On Thu, Jan 5, 2017 at 9:19 AM, Hal Finkel via llvm-dev
>>> <llvm-dev at lists.llvm.org