Skip to content

Commit 3fb537e

Browse files
Fix build failure after 83fbc0e
Signed-off-by: Whitney Tsang <[email protected]>
1 parent 3645f4b commit 3fb537e

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

third_party/intel/lib/TritonIntelGPUToLLVM/TargetInfo.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,6 @@ Value TargetInfo::shuffleIdx(RewriterBase &rewriter, Location loc, Value val,
9191
return LLVM::intel::shuffleIdx(loc, rewriter, val, i);
9292
}
9393

94-
Value TargetInfo::permute(RewriterBase &rewriter, Location loc, Value a,
95-
Value b, Value selector) const {
96-
// Warning: The `a` and `b` operands are ordered to align with Nvidia's `prmt`
97-
// Both use little-endian ordering, but AMD puts the MSBs of the data in the
98-
// 0-th operand.
99-
return LLVM::intel::permute(loc, rewriter, b, a, selector);
100-
}
101-
10294
Value TargetInfo::programId(RewriterBase &rewriter, Location loc,
10395
ModuleOp moduleOp, ProgramIDDim axis) const {
10496
Value blockId =

third_party/intel/lib/TritonIntelGPUToLLVM/TargetInfo.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ class TargetInfo : public mlir::triton::TargetInfoBase {
4444
Value shuffleIdx(RewriterBase &rewriter, Location loc, Value val,
4545
Value i) const override;
4646

47-
Value permute(RewriterBase &rewriter, Location loc, Value a, Value b,
48-
Value selector) const override;
49-
5047
Value programId(RewriterBase &rewriter, Location loc, ModuleOp moduleOp,
5148
ProgramIDDim axis) const override;
5249

0 commit comments

Comments
 (0)