lebedev.ri added a comment. If there isn't a fold `gep inbounds null, ??? --> bitcast(null)` it might be interesting to add one though. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D110245/new/ https://reviews.llvm.org/D110245