Skip to content

Commit 08103f8

Browse files
committed
address comments
1 parent 3359797 commit 08103f8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,9 @@ static bool isNoopPtrIntCastPair(const Operator *I2P, const DataLayout &DL,
305305
}
306306

307307
// Returns true if V is an address expression.
308-
// TODO: Currently, we consider only arguments and phi, bitcast, addrspacecast,
309-
// and getelementptr operators.
308+
// TODO: Currently, we only consider:
309+
// - arguments
310+
// - phi, bitcast, addrspacecast, and getelementptr operators
310311
static bool isAddressExpression(const Value &V, const DataLayout &DL,
311312
const TargetTransformInfo *TTI) {
312313

0 commit comments

Comments
 (0)