HomePhabricator

[RISCV] Remove duplicated logic when determining the target ABI

Description

[RISCV] Remove duplicated logic when determining the target ABI

We were calculating twice ilp32/lp64. Do this in one place instead.

Differential Revision: https://reviews.llvm.org/D48357