Displaying 3 results from an estimated 3 matches for "safetyinfo".
2017 Mar 31
4
Dereferenceable load semantics & LICM
...plans to fix it in the future? The fix doesn't seem hard to
Not to my knowledge.
> write and I can do it, but I am not sure if it won't be too expensive.
Maybe we can do it (relatively) cheaply:
- Remember the first throwing instruction in the header, instead of a
boolean, in LoopSafetyInfo
- In hoistRegion, remember if you've seen the first throwing
instruction yet
- Pass the above as a boolean parameter to isGuaranteedToExecute, and
instead of
if (Inst.getParent() == CurLoop->getHeader())
return !SafetyInfo->HeaderMayThrow;
do something like
i...
2017 Mar 31
2
Dereferenceable load semantics & LICM
On Fri, Mar 31, 2017 at 10:23 AM, Sanjoy Das <sanjoy at playingwithpointers.com
> wrote:
> Hi Piotr,
>
> On March 31, 2017 at 9:07:42 AM, Piotr Padlewski
> (piotr.padlewski at gmail.com) wrote:
> > Hi all,
> > I have a question about dereferenceable metadata on load instruction. I
> > have a patch (https://reviews.llvm.org/D31539) for LICM that hoists
>
2017 Apr 03
4
Dereferenceable load semantics & LICM
...> Not to my knowledge.
>>
>> > write and I can do it, but I am not sure if it won't be too expensive.
>>
>> Maybe we can do it (relatively) cheaply:
>>
>> - Remember the first throwing instruction in the header, instead of a
>> boolean, in LoopSafetyInfo
>>
>> - In hoistRegion, remember if you've seen the first throwing
>> instruction yet
>>
>> - Pass the above as a boolean parameter to isGuaranteedToExecute, and
>> instead of
>> if (Inst.getParent() == CurLoop->getHeader())
>>...