Skip to content

Commit 1aebd43

Browse files
chengjunluwhitneywhtsang
authored andcommitted
Enable LL for intel::emitOffsetForLayout
1 parent d093220 commit 1aebd43

File tree

1 file changed

+0
-6
lines changed
  • third_party/intel/lib/TritonIntelGPUToLLVM

1 file changed

+0
-6
lines changed

third_party/intel/lib/TritonIntelGPUToLLVM/Utility.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -571,12 +571,6 @@ emitBaseIndexForLayout(Location loc, RewriterBase &rewriter,
571571

572572
inline SmallVector<SmallVector<unsigned>>
573573
emitOffsetForLayout(Attribute layout, RankedTensorType type) {
574-
if (auto dpasLayout = dyn_cast<DpasEncodingAttr>(layout))
575-
return emitOffsetForDpasLayout(dpasLayout, type);
576-
if (auto dotLayout = dyn_cast<DotOperandEncodingAttr>(layout))
577-
return emitOffsetForDotOpLayout(dotLayout, type);
578-
if (auto sliceLayout = dyn_cast<SliceEncodingAttr>(layout))
579-
return ::intel::emitOffsetForSliceLayout(sliceLayout, type);
580574
return mlir::emitOffsetForLayout(layout, type);
581575
}
582576

0 commit comments

Comments
 (0)