Skip to content

Commit d62cb13

Browse files
committed
remove dead functions
1 parent dfa25c1 commit d62cb13

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

third_party/intel/lib/TritonIntelGPUTransforms/OptimizeBlockIOEncoding.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,6 @@ SmallVector<Value> getTiedArgs(Operation *op, int resultIdx) {
4848
return {};
4949
}
5050

51-
Type getNewType(Type type, Attribute encoding) {
52-
RankedTensorType tensorType = cast<RankedTensorType>(type);
53-
return RankedTensorType::get(tensorType.getShape(),
54-
tensorType.getElementType(), encoding);
55-
}
56-
57-
Type getNewPointerType(Type type, Attribute encoding) {
58-
assert(isa<PointerType>(type) && "expected a ptr type!");
59-
auto oldPointerType = cast<PointerType>(type);
60-
return PointerType::get(getNewType(oldPointerType.getPointeeType(), encoding),
61-
oldPointerType.getAddressSpace());
62-
}
63-
6451
struct EncodingInfo {
6552
Attribute desiredEncoding;
6653
bool requiresConvert = false;

0 commit comments

Comments
 (0)