search for: passmanagertest

Displaying 5 results from an estimated 5 matches for "passmanagertest".

2017 Jan 04
5
RFC: Reconsidering adding gmock to LLVM's unittest utilities
...n a precise way over specific bits of IR. When testing this, it is extremely cumbersome to write a test pass which does this in interesting and yet controllable and comprehensible ways. Let's look at a concrete example: https://github.com/llvm-project/llvm-project/blob/master/llvm/unittests/IR/PassManagerTest.cpp#L481-L509 Here we have over 20 lines of code spent testing that the correct set of things happened the correct number of times. I had to write a long comment just to explain what these numbers mean. And I still never understand whether a change in the numbers really means a good or bad thing....
2016 Jul 27
0
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
Okay, did the big renaming and de-templating today (and removing the proxies). check-llvm worked fine, except that this test caught a bug (yay!): unittests/IR/PassManagerTest.cpp:326 After removing the proxies, the module pass is not invalidating the function passes (since the invalidation is on the module IRUnit). we now don't have a method for delegating the invalidation from outer IRUnit's to inner IRUnit's. I'll try to add a mechanism for the analys...
2016 Jul 29
1
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
...tuff tomorrow. -- Sean Silva On Wed, Jul 27, 2016 at 3:58 AM, Sean Silva <chisophugis at gmail.com> wrote: > Okay, did the big renaming and de-templating today (and removing the > proxies). > > check-llvm worked fine, except that this test caught a bug (yay!): > unittests/IR/PassManagerTest.cpp:326 > > After removing the proxies, the module pass is not invalidating the > function passes (since the invalidation is on the module IRUnit). we now > don't have a method for delegating the invalidation from outer IRUnit's to > inner IRUnit's. > I'll try to a...
2016 Jul 26
3
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
I'm not quite sure what post to respond to for a status update, but I guess this one will do (and you can check my log for more info of course). My current working branch for the analysis manager stuff is at https://github.com/chisophugis/llvm/commits/analysis-manager (4ecf6115890bd01caa52c0b99424974e3469291e) I described in my log a bit more my thought process and how to do this without
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...]: Compiling IntrusiveRefCntPtrTest.cpp for Release+Asserts build llvm[2]: Compiling MakeUniqueTest.cpp for Release+Asserts build make[2]: Entering directory '/home/NIKHILREDDY/WORK/LLVM_OBJ/unittests/MC' llvm[2]: Compiling Disassembler.cpp for Release+Asserts build llvm[2]: Compiling LegacyPassManagerTest.cpp for Release+Asserts build llvm[2]: Compiling StringTableBuilderTest.cpp for Release+Asserts build llvm[2]: Compiling MapVectorTest.cpp for Release+Asserts build llvm[2]: Compiling YAMLTest.cpp for Release+Asserts build llvm[2]: Compiling MDBuilderTest.cpp for Release+Asserts build llvm[2]: Comp...