Comments (3)
When Pet is used as the frontend, the dependence analysis happens directly on the read and write access relations obtained from pet, i.e., the dependence analysis doesn't happen on stmt->reads/writes. So, I wouldn't expect you to be missing any dependences when using --pet. The code at line 422-423 is only on extracting access information from the computed dependence, and as you point out, won't extract that info (src_acc, dest_acc will be set to NULL). The dependence will still be there, and so you won't have an invalid transformation. To confirm, please see output with:
--moredebug
(The dependences are printed out.)
Thank you for reporting this though - the guard needs to be fixed so that src/dest acc info is correctly propagated. The 0 byte malloc should be fixed as well.
from pluto.
@whbldhwj Fixed in these two commits.
from pluto.
Yeah I thought it won't affect the transformation. Just I was trying to use the access information and found the field is NULL for such cases. Thanks for the fast response!
from pluto.
Related Issues (20)
- Loop Unrolling and Scalar Replacement (Register-level Tiling) HOT 2
- [Only QUERY] Any plan to update Pluto for LLVM 18.x release? HOT 1
- Can I compile pluto without -fopenmp? HOT 2
- error running make (pet): invalid use of incomplete type 'class clang::Builtin::Context HOT 4
- Compilation error and solution HOT 4
- Diamond tiling helper function cone complement hyperplane doesn't have a GLPK path
- getting errors trying to parallelize my code HOT 1
- build candl error happend when make HOT 1
- difference between cut_smart and cut_conservative HOT 7
- What compiler can I use to compile pluto? HOT 15
- Fix build configuration to properly build test_libpluto and unit_tests
- OpenScop's scatter function semantics? HOT 1
- Error running make (on pet.lo) HOT 2
- while using "make -j4", the process fails. HOT 2
- Error when unrolling HOT 4
- Error in building pluto dev version HOT 1
- problem in configure and make HOT 2
- A starter Dockerfile for pluto
- build failing for cloog-isl with error message: /usr/bin/texi2dvi: pdfetex exited with bad status, quitting. make[3]: *** [Makefile:2301: doc/cloog.pdf] Error 1 HOT 3
- pet build error: /usr/include/c++/9/bits/stl_tree.h:785:8: error: static assertion failed: comparison object must be invocable as const HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pluto.