This reverts commits for kernel environments as they causes issues in AMD BB.
transform.apply_dce
See https://mlir.llvm.org/ for more information.