-
Notifications
You must be signed in to change notification settings - Fork 1.7k
C++: add range analysis diff test #8665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of non-blocking questions, but otherwise LGTM!
@@ -1,4 +1,4 @@ | |||
template<typename T> void mod(T value); | |||
/*template<typename T> void mod(T value); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this still be commented out?
IR::Operand asOperand() { none() } | ||
} | ||
|
||
class SsaInstructionVariable extends SsaVariable, TSsaInstruction { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This class can probably be private
, no?
final override IR::Instruction asInstruction() { result = instr } | ||
} | ||
|
||
class SsaOperand extends SsaVariable, TSsaOperand { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This class can be private, right? And could we call it SsaOperandVariable
for consistency?
This makes inexact memory operands into their own SSA variables in the Semantic interface, which resolves an issue with phi nodes losing inexact operands (e.g. the unknown-size variable for parameter indirections).
2d7a7d3
to
9f5cd71
Compare
No description provided.