[BACKEND] Remove workaround for NVPTX bug after LLVM upgrade (#2585)

This was a workaround for a bug exposed in test_core when generating
ext_load in NVPTX. The backend bug seems fixed in latest LLVM upgrade so
removing the workaround.
This commit is contained in:
Thomas Raoux
2023-11-02 10:31:58 -07:00
committed by GitHub
parent 37cd3d5339
commit dced22c4b7

View File

@@ -282,9 +282,6 @@ SmallVector<Value> LayoutPropagation::propagateToUsers(Value value,
setEncoding({afterArg, result}, info, changed, user);
continue;
}
// Workaround: don't propagate through truncI
if (isa<arith::TruncIOp>(user))
continue;
if (user->hasTrait<mlir::OpTrait::SameOperandsAndResultEncoding>() ||
user->hasTrait<mlir::OpTrait::Elementwise>() ||
isa<triton::ReduceOp, triton::ExpandDimsOp,