Displaying 6 results from an estimated 6 matches for "getclobberingmemoryaccess".
2016 May 02
2
[MemorySSA] Potential CachingMemorySSAWalker bug
I suspect something is pulling the RHS of the memorydef and caching it for
calls it should not be used for.
In particular, i suspect we are about to discover we can't cache the
results from both versions of getClobberingMemoryAccess together, or that
the cache is not always getting consistently written.
On Mon, May 2, 2016 at 11:16 AM, George Burgess IV <
george.burgess.iv at gmail.com> wrote:
> Yeah, that sounds like a fun bug. I'll take a look later today and see
> what I can find out. :)
>
> On Fr...
2016 May 02
2
[MemorySSA] Potential CachingMemorySSAWalker bug
...lt;mailto:dberlin at dberlin.org>> wrote:
>
> I suspect something is pulling the RHS of the memorydef and
> caching it for calls it should not be used for.
> In particular, i suspect we are about to discover we can't cache
> the results from both versions of getClobberingMemoryAccess
> together, or that the cache is not always getting consistently
> written.
>
>
>
>
> On Mon, May 2, 2016 at 11:16 AM, George Burgess IV
> <george.burgess.iv at gmail.com <mailto:george.burgess.iv at gmail.com>>
> wrote:
>
> Y...
2016 Apr 29
2
[MemorySSA] Potential CachingMemorySSAWalker bug
...hink I have run into another CachingMemorySSAWalker cache bug. It's
a bit tricky to reproduce, so I'd like to start by trying to show you
what is happening when running EarlyCSE with my local changes to use
MemorySSA. I've attached a debug log that shows that the value returned
by getClobberingMemoryAccess(Inst) after a call to removeMemoryAccess is
wrong. The MemorySSA node in question is MemoryUse(7), and the
corruption happens after a call to remove MemoryUse(2), at which point
its clobber value changes to '1 = MemoryDef(liveOnEntry)'. The
interesting thing is that is doesn't see...
2018 Feb 09
1
PHI nodes for atomic variables
Dear Daniel Berlin,
I just tried MemorySSA analysis and get the next IR.
However, I feel confused by the result.
Specifically, why instruction *%3* relates to a *MemoryDef*. According to
my understanding,
I think *%3* should be related to a *MemoryUse*, right?
; Function Attrs: uwtable
define void @_Z2f1v() #3 personality i32 (...)* @__gxx_personality_v0 {
entry:
; 1 = MemoryDef(liveOnEntry)
2016 Apr 20
4
[LICM][MemorySSA] Converting LICM pass to use MemorySSA to avoid AliasSet collapse issue
1) Sounds good. This isn’t holding me up so I’ll just try to keep an eye out for these changes.
2) I’ve attached an example IR file and debug log of where the caching is going bad. It depends on my changes to EarlyCSE, but hopefully it is clear from the debug output what is going on. Let me know if there is a better way to get this repro case to you. Also, I’ll be on IRC for the
2017 Feb 17
2
[MemorySSA] inserting or removing memory instructions
In particular, if you want to add support, the right way to know what to
rename is (off the top of my head)
add a flag or something to have renamepass reset all uses it sees (you only
have to change the uses, defs are all linked together and thus already
fixed by the updater). Right now it only does that if they have no
defining access.
Make it skip blocks already in the visited set (the