mirror of
https://github.com/ROCm/ROCm.git
synced 2026-04-05 03:01:17 -04:00
[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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user