Skip to content

Commit

Permalink
C++: Delete redundant conjuncts.
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasVP committed Jul 16, 2024
1 parent 9504e0f commit 083b9b7
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,14 +189,12 @@ private module Cached {
// Chi instructions track virtual variables, and therefore a chi instruction is
// conflated if it's associated with the aliased virtual variable.
exists(Instruction input | instruction = getChi(input) |
instruction = getChi(input) and
Alias::getResultMemoryLocation(input).getVirtualVariable() instanceof
Alias::AliasedVirtualVariable
or
// A chi following an `UninitializedGroupInstruction` only happens when the virtual
// variable of the grouped memory location is `{AllAliasedMemory}`.
exists(Alias::GroupedMemoryLocation gml |
instruction = getChi(input) and
input = uninitializedGroup(gml.getGroup()) and
gml.getVirtualVariable() instanceof Alias::AliasedVirtualVariable
)
Expand Down

0 comments on commit 083b9b7

Please sign in to comment.