Just two paragraphs above it says:
If the compiler does not support this [skipping code generation for a particular branch], it will fall back to the "abort" implementation.
And that actually correctly describes current llvm_unreachable implementation.
https://llvm.org/docs/CodingStandards.html#assert-liberally
Alternatively, if we agree that llvm_unreachable should really have an assert-like semantics then we can make the call to abort in llvm_unreachable_internal conditional on #ifndef NDEBUG.
https://github.com/llvm/llvm-project/blob/master/llvm/lib/Support/ErrorHandling.cpp#L210
That would've to be approved by more people though.