================ ---------------- jdenny-ornl wrote: ```suggestion return *TC == 0 ? std::nullopt : TC; ``` Does this work? If so, can you clean that up while you're here? https://github.com/llvm/llvm-project/pull/195610