search for: pr28400

Displaying 20 results from an estimated 20 matches for "pr28400".

2016 Jul 12
2
Should analyses be able to hold AssertingVH to IR? (related to PR28400)
On Mon, Jul 11, 2016 at 7:51 PM, Sanjoy Das <sanjoy at playingwithpointers.com> wrote: > Hi Sean, > > Sean Silva wrote: > > While building test-suite with the new PM, I ran into problems with > > AssertingVH being triggered which is obvious in retrospect: > > https://llvm.org/bugs/show_bug.cgi?id=28400 > > > > Both cases I ran into revolve around LVI
2017 Jan 24
2
Should analyses be able to hold AssertingVH to IR? (related to PR28400)
> On Jan 23, 2017, at 10:07 PM, Sean Silva <chisophugis at gmail.com> wrote: > > > > On Mon, Jan 23, 2017 at 1:08 AM, Chandler Carruth <chandlerc at gmail.com <mailto:chandlerc at gmail.com>> wrote: > This thread kinda died. I'd like to revive it. > > The new PM stuff is making excellent progress, and this is actually one of the last things to
2016 Jul 12
3
Should analyses be able to hold AssertingVH to IR? (related to PR28400)
On Mon, Jul 11, 2016 at 11:17 PM, Sanjoy Das <sanjoy at playingwithpointers.com > wrote: > Hi Sean, > > Sean Silva wrote: > > > > But asan won't catch problems (insofar I understand how it works) if > > the free'ed BasicBlock is used as a key in a DenseMap or something -- > > if another BasicBlock gets allocated to the same location
2016 Jul 06
4
Should analyses be able to hold AssertingVH to IR? (related to PR28400)
While building test-suite with the new PM, I ran into problems with AssertingVH being triggered which is obvious in retrospect: https://llvm.org/bugs/show_bug.cgi?id=28400 Both cases I ran into revolve around LVI which holds AssertingVH. Essentially, what happens is this: 1. LVI holds an AssertingVH pointing at a BasicBlock 2. Some other pass ends up deleting that BB (e.g. SimplifyCFG) 3. BOOM
2017 Jan 23
6
Should analyses be able to hold AssertingVH to IR? (related to PR28400)
This thread kinda died. I'd like to revive it. The new PM stuff is making excellent progress, and this is actually one of the last things to clean up. On Mon, Aug 8, 2016 at 1:10 AM Sean Silva <chisophugis at gmail.com> wrote: > Thoughts? For the moment I have put in a workaround (r274457) that makes > jump-threading invalidate LVI. > > > Is everybody happy with this
2016 Jul 14
4
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...M seems to account for quite a few of the problems. - BasicAA and other stuff are marked (by overriding `invalidate` to return false) to never be invalidated because they are "stateless". However they still hold pointers and so they do need to be invalidated. - CallGraph uses AssertingVH (PR28400) and so I needed a workaround similar to r274656 in various passes. - D21921 is holding up -- I haven't hit any issues with the core logic of that patch. - AAResults holds handles to various AA result objects. This means it pretty much always needs to be invalidated unless you are sure that non...
2016 Jul 26
2
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...one of the main issues. I think once you start testing out the new PM "for real" you will change your position. (Correct me if I'm wrong, but I have to assume that you haven't yet because you would have run into the showstopping bug that started this thread (filed as PR28622), or PR28400, or even simply PR28577.) -- Sean Silva > > I think it would be better to iterate on this once we understand how the > new pass manager works. I think exposing the fact that these things are > cached is really important and useful, and it makes querying across IR unit > boundarie...
2016 Jul 16
3
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...f the problems. >> - BasicAA and other stuff are marked (by overriding `invalidate` to >> return false) to never be invalidated because they are "stateless". However >> they still hold pointers and so they do need to be invalidated. >> - CallGraph uses AssertingVH (PR28400) and so I needed a workaround >> similar to r274656 in various passes. >> - D21921 is holding up -- I haven't hit any issues with the core logic >> of that patch. >> - AAResults holds handles to various AA result objects. This means it >> pretty much always needs t...
2016 Jul 15
5
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...> - BasicAA and other stuff are marked (by overriding `invalidate` to > > return false) to never be invalidated because they are "stateless". > > However they still hold pointers and so they do need to be > > invalidated. > > > - CallGraph uses AssertingVH (PR28400) and so I needed a workaround > > similar to r274656 in various passes. > > > - D21921 is holding up -- I haven't hit any issues with the core > > logic of that patch. > > > - AAResults holds handles to various AA result objects. This means > > it > >...
2016 Jul 25
2
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...; > return false) to never be invalidated because they are > > > > "stateless". > > > > However they still hold pointers and so they do need to be > > > > invalidated. > > > > > > > > > > - CallGraph uses AssertingVH (PR28400) and so I needed a > > > > workaround > > > > similar to r274656 in various passes. > > > > > > > > > > - D21921 is holding up -- I haven't hit any issues with the > > > > core > > > > logic of that patch. > &gt...
2016 Jul 15
2
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...; > return false) to never be invalidated because they are > > > > "stateless". > > > > However they still hold pointers and so they do need to be > > > > invalidated. > > > > > > > > > > - CallGraph uses AssertingVH (PR28400) and so I needed a > > > > workaround > > > > similar to r274656 in various passes. > > > > > > > > > > - D21921 is holding up -- I haven't hit any issues with the > > > > core > > > > logic of that patch. > &gt...
2016 Jul 15
2
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...; > return false) to never be invalidated because they are > > > > "stateless". > > > > However they still hold pointers and so they do need to be > > > > invalidated. > > > > > > > > > > - CallGraph uses AssertingVH (PR28400) and so I needed a > > > > workaround > > > > similar to r274656 in various passes. > > > > > > > > > > - D21921 is holding up -- I haven't hit any issues with the > > > > core > > > > logic of that patch. > &gt...
2016 Jul 15
4
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...>>> - BasicAA and other stuff are marked (by overriding `invalidate` to >>> return false) to never be invalidated because they are "stateless". However >>> they still hold pointers and so they do need to be invalidated. >>> - CallGraph uses AssertingVH (PR28400) and so I needed a workaround >>> similar to r274656 in various passes. >>> - D21921 is holding up -- I haven't hit any issues with the core logic >>> of that patch. >>> - AAResults holds handles to various AA result objects. This means it >>> pretty...
2016 Jul 22
4
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...- BasicAA and other stuff are marked (by overriding `invalidate` to >>>> return false) to never be invalidated because they are "stateless". However >>>> they still hold pointers and so they do need to be invalidated. >>>> - CallGraph uses AssertingVH (PR28400) and so I needed a workaround >>>> similar to r274656 in various passes. >>>> - D21921 is holding up -- I haven't hit any issues with the core logic >>>> of that patch. >>>> - AAResults holds handles to various AA result objects. This means it &gt...
2016 Aug 08
2
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...- BasicAA and other stuff are marked (by overriding `invalidate` to >>>> return false) to never be invalidated because they are "stateless". However >>>> they still hold pointers and so they do need to be invalidated. >>>> - CallGraph uses AssertingVH (PR28400) and so I needed a workaround >>>> similar to r274656 in various passes. >>>> - D21921 is holding up -- I haven't hit any issues with the core logic >>>> of that patch. >>>> - AAResults holds handles to various AA result objects. This means it &gt...
2016 Jul 26
3
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...ff are marked (by overriding `invalidate` to >>>>>> return false) to never be invalidated because they are "stateless". However >>>>>> they still hold pointers and so they do need to be invalidated. >>>>>> - CallGraph uses AssertingVH (PR28400) and so I needed a workaround >>>>>> similar to r274656 in various passes. >>>>>> - D21921 is holding up -- I haven't hit any issues with the core >>>>>> logic of that patch. >>>>>> - AAResults holds handles to various AA r...
2016 Jul 25
3
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...t;>>>>> - BasicAA and other stuff are marked (by overriding `invalidate` to return false) to never be invalidated because they are "stateless". However they still hold pointers and so they do need to be invalidated. >>>>>>> - CallGraph uses AssertingVH (PR28400) and so I needed a workaround similar to r274656 in various passes. >>>>>>> - D21921 is holding up -- I haven't hit any issues with the core logic of that patch. >>>>>>> - AAResults holds handles to various AA result objects. This means it pretty much a...
2016 Jul 27
0
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...d (by overriding `invalidate` to >>>>>>> return false) to never be invalidated because they are "stateless". However >>>>>>> they still hold pointers and so they do need to be invalidated. >>>>>>> - CallGraph uses AssertingVH (PR28400) and so I needed a workaround >>>>>>> similar to r274656 in various passes. >>>>>>> - D21921 is holding up -- I haven't hit any issues with the core >>>>>>> logic of that patch. >>>>>>> - AAResults holds handles...
2016 Jul 13
3
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
On Wed, Jul 13, 2016 at 12:25 AM Sean Silva <chisophugis at gmail.com> wrote: > On Tue, Jul 12, 2016 at 11:39 PM, Chandler Carruth <chandlerc at gmail.com> > wrote: > >> On Tue, Jul 12, 2016 at 11:34 PM Sean Silva <chisophugis at gmail.com> >> wrote: >> >>> On Tue, Jul 12, 2016 at 11:32 PM, Xinliang David Li <davidxl at google.com>
2016 Jul 29
1
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...ding `invalidate` to >>>>>>>> return false) to never be invalidated because they are "stateless". However >>>>>>>> they still hold pointers and so they do need to be invalidated. >>>>>>>> - CallGraph uses AssertingVH (PR28400) and so I needed a workaround >>>>>>>> similar to r274656 in various passes. >>>>>>>> - D21921 is holding up -- I haven't hit any issues with the core >>>>>>>> logic of that patch. >>>>>>>> - AAResul...