aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/service/copy_insertion.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/compiler/xla/service/copy_insertion.cc')
-rw-r--r--tensorflow/compiler/xla/service/copy_insertion.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/compiler/xla/service/copy_insertion.cc b/tensorflow/compiler/xla/service/copy_insertion.cc
index 3c454a3dc4..dc45dd946b 100644
--- a/tensorflow/compiler/xla/service/copy_insertion.cc
+++ b/tensorflow/compiler/xla/service/copy_insertion.cc
@@ -141,7 +141,7 @@ class InstructionCopier {
Status RecordAmbiguousOrNonDistinctIndices(
const TuplePointsToAnalysis& points_to_analysis);
- // Records instruction buffer indices which have interferring live ranges
+ // Records instruction buffer indices which have interfering live ranges
// with 'other_instruction' buffers at same index.
Status RecordIndicesWhichInterfereWithOtherInstruction(
const BufferLiveness& liveness, const HloInstruction* other_instruction,
@@ -429,7 +429,7 @@ HloInstruction* InstructionCopier::Copy() {
return copy;
}
-// The 'read_only_indices' are initalized based on points-to analysis on the
+// The 'read_only_indices' are initialized based on points-to analysis on the
// while body corresponding to 'while_hlo'. If the init buffer corresponding to
// a read-only index aliases with an entry parameter (or constant), it cannot be
// considered read-only, and must be copied. This is necessary because some