Skip to content

Commit 083b9b7

Browse files
committed
C++: Delete redundant conjuncts.
1 parent 9504e0f commit 083b9b7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cpp/ql/lib/semmle/code/cpp/ir/implementation/aliased_ssa/internal/SSAConstruction.qll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,14 +189,12 @@ private module Cached {
189189
// Chi instructions track virtual variables, and therefore a chi instruction is
190190
// conflated if it's associated with the aliased virtual variable.
191191
exists(Instruction input | instruction = getChi(input) |
192-
instruction = getChi(input) and
193192
Alias::getResultMemoryLocation(input).getVirtualVariable() instanceof
194193
Alias::AliasedVirtualVariable
195194
or
196195
// A chi following an `UninitializedGroupInstruction` only happens when the virtual
197196
// variable of the grouped memory location is `{AllAliasedMemory}`.
198197
exists(Alias::GroupedMemoryLocation gml |
199-
instruction = getChi(input) and
200198
input = uninitializedGroup(gml.getGroup()) and
201199
gml.getVirtualVariable() instanceof Alias::AliasedVirtualVariable
202200
)

0 commit comments

Comments
 (0)