efriedma-quic wrote: The approach here looks reasonable; assuming we actually emit appropriate TBL ops, marking them cheap seems appropriate. May need some work to deal with indirect effects of this. Needs testcases. https://github.com/llvm/llvm-project/pull/79058