Index: mlir/include/mlir/Interfaces/DataLayoutInterfaces.h =================================================================== --- mlir/include/mlir/Interfaces/DataLayoutInterfaces.h +++ mlir/include/mlir/Interfaces/DataLayoutInterfaces.h @@ -163,10 +163,8 @@ /// Combined layout spec at the given scope. const DataLayoutSpecInterface originalLayout; -#ifndef NDEBUG /// List of enclosing layout specs. SmallVector layoutStack; -#endif /// Asserts that the cache is still valid. Expensive in debug mode. No-op in /// release mode.