RV32, ExpandIntRes_MINMAX expanding i64 will generate select + select.
This patch reduces the number of branch instructions for a specific condition:
select(C0, x, select(C1, x, y)) -> select(C0|C1, x, y)
select(C0, select(C1, x, y), y) -> select(C0&C1, x, y)
Possible related patch, https://reviews.llvm.org/D98932