Skip to content

Commit 8a9b5b4

Browse files
alexbadenwhitneywhtsang
authored andcommitted
remove unused var
1 parent 56bc075 commit 8a9b5b4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

third_party/intel/lib/TritonIntelGPUTransforms/OptimizeBlockIOEncoding.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,6 @@ class TritonIntelGPUOptimizeBlockIOEncodingPass
242242
auto oldTensorPtrType = cast<PointerType>(makeTensorPtrOp.getType());
243243
auto oldTensorType =
244244
cast<RankedTensorType>(oldTensorPtrType.getPointeeType());
245-
// Note: we need the old layout to get the order for the load, but it is not
246-
// clear the layout will always be Blocked. Is there a better way to get
247-
// this info?
248-
auto oldLayout = cast<BlockedEncodingAttr>(oldTensorType.getEncoding());
249245

250246
auto CTALayout = getCTALayout(dpasLayout);
251247
const unsigned elemSizeInBits =

0 commit comments

Comments
 (0)