Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ private Map<PointsToSetVariable, TensorType> getShapeSourceCalls(
.getHeapModel()
.getPointerKeyForLocal(src, call.getDef());
// Materializing an implicitly-represented key would make WALA dump the entire call
// graph's IR (a no-op-assertion debug path), so skip it; implicit keys carry no
// graph's IR (an unconditional debug print), so skip it; implicit keys carry no
// explicit dataflow variable to pin (wala/ML#573).
if (!builder.getPropagationSystem().isImplicit(defKey))
targets.put(
Expand Down Expand Up @@ -961,7 +961,7 @@ private Map<PointsToSetVariable, TensorType> getSetShapeCallsSyntactic(
}
if (!receiverEligible) continue;
// Skip implicitly-represented receivers: materializing one makes WALA dump the entire
// call graph's IR via a no-op-assertion debug path (wala/ML#573), and an implicit key has
// call graph's IR via an unconditional debug print (wala/ML#573), and an implicit key has
// no explicit dataflow variable to pin.
if (builder.getPropagationSystem().isImplicit(receiverKey)) continue;
targets.put(
Expand All @@ -982,7 +982,7 @@ private Set<PointsToSetVariable> getKeysDefinedByCall(
PointerKey defKey =
builder.getPointerAnalysis().getHeapModel().getPointerKeyForLocal(src, call.getDef());
// Skip implicitly-represented keys: materializing one makes WALA dump the entire call
// graph's IR via a no-op-assertion debug path (wala/ML#573), and an implicit key has no
// graph's IR via an unconditional debug print (wala/ML#573), and an implicit key has no
// explicit dataflow variable to track.
if (!builder.getPropagationSystem().isImplicit(defKey))
lvals.add(builder.getPropagationSystem().findOrCreatePointsToSet(defKey));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,8 @@ public static PointsToSetVariable findCreator(

private static PointsToSetVariable getPointsToSetVariable(
PointerKey key, PropagationCallGraphBuilder builder) {
// Materializing an implicitly-represented key makes WALA dump the entire call graph's IR via a
// no-op-assertion debug path (wala/ML#573); skip it (the caller treats null as "no PTS").
// Materializing an implicitly-represented key makes WALA dump the entire call graph's IR via an
// unconditional debug print (wala/ML#573); skip it (the caller treats null as "no PTS").
if (builder.getPropagationSystem().isImplicit(key)) return null;
try {
return builder.getPropagationSystem().findOrCreatePointsToSet(key);
Expand Down
Loading