Assertion failed: (index < getNumSubFields()), function getSubField, file FieldRef.h, line 114.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: circt-opt --firrtl-infer-widths x.mlir
 #0 0x00000001020ea1b2c4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
 #1 0x00000001020ea1a0d4 llvm::sys::RunSignalHandlers() + 112
 #2 0x00000001020ea1b8f0 SignalHandler(int, __siginfo*, void*) + 360
 #3 0x000000018a0e4f6144 _sigtramp + 56
 #4 0x00000001850e52c960 pthread_kill + 296
 #5 0x00000001850e5c0480 abort + 148
 #6 0x00000001850e5bf6c4 __assert_rtn + 284
 #7 0x00000001030ec4d210 circt::firrtl::FieldRef::getSubField(unsigned int) const + 96
 #8 0x00000001030ec51e88 (anonymous namespace)::InferWidthsPass::runOnOperation() + 2216
 #9 0x00000001040ee0a4f8 mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) + 600
