lebedev.ri added a comment. It looks like what we need is a `invoke of select between functions --> if-then-else` Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D110901/new/ https://reviews.llvm.org/D110901