Conversation
| int64_t ptr_loads_copy = ptr_loads; | ||
| ptr_loads = 1; | ||
| for( size_t i = 0; i < x.n_args; i++ ) { | ||
| if (is_argument_of_type_CPtr(x.m_args[i])) { |
|
|
||
|
|
||
| const std::unordered_set<std::string> reserved_keywords_c = { | ||
| "_Alignas", "_Alignof", "_Atomic", "_Bool", "_Complex", "_Generic", "_Imaginary", "_Noreturn", "_Static_assert", "_Thread_local", "auto", "break", "case", "char", "_Bool", "const", "continue", "default", "do", "double", "else", "enum", "extern", "float", "for", "goto", "if", "int", "long", "register", "return", "short", "signed", "sizeof", "static", "struct", "switch", "typedef", "union", "unsigned", "void", "volatile", "while" |
| @@ -49,263 +49,20 @@ class ReplaceSymbolicVisitor : public PassUtils::PassVisitor<ReplaceSymbolicVisi | |||
| std::set<ASR::symbol_t*> symbolic_vars_to_omit; | |||
| SymEngine_Stack symengine_stack; | |||
|
|
|||
| /********************************** Utils *********************************/ | |||
| #define BASIC_CONST(SYM, name) \ | |||
There was a problem hiding this comment.
Some or maybe all the changes has to be reverted in this file : #2433
46b6f2c to
10ee462
Compare
|
I am able to compile 40% of integration_tests. Will continue debugging tomorrow and complete this PR. |
Pranavchiku
left a comment
There was a problem hiding this comment.
Left comments above, otherwise this looks good. Thanks for doing this, it was tricky to even review.
d3fb1dd to
b56cf13
Compare
|
I was going through the If everything is done in this pr and that's the only thing blocking us, maybe comment out llvm_sym from symbolics_13 for now and then debug it separately. |
|
@anutosh491 can you please help debugging the symbolic issue? That way @czgdp1807 can focus on syncing with LFortran. |
|
|
||
|
|
||
| Note: Please report unclear or confusing messages as bugs at | ||
| https://github.com/lcompilers/lpython/issues. |
There was a problem hiding this comment.
All error reference tests now have this text, it used to be disabled via --no-error-banner.
There was a problem hiding this comment.
Separate issue. Same thing is there in LFortran.
|
Other than that, I think this is good. I verified changes to:
|
No description provided.