Closed ESI-SYD closed 7 months ago
For AllenaiLongformerBase
, the error: failed to legalize operation 'tt.reduce' that was explicitly marked illegal
is led by the insertion of nvvm.redux.sync, which is illegal in the target.
%269 = "llvm.mlir.constant"() <{value = -1 : i32}> : () -> i32
%270 = "nvvm.redux.sync"(%268, %269) <{kind = #nvvm<redux_kind or>}> : (i32, i32) -> i32
%271 = "llvm.mlir.constant"() <{value = 0 : i32}> : () -> i32
Error message:
Reproduce:
Version:
triton: https://github.com/intel/intel-xpu-backend-for-triton/commit/97ac4f91d149a3392d6e14f5d39aa4953fb6c56e