[llvm] [RISCV] Expand Zfa fli+fneg cases during lowering instead of during isel. (PR #108316)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 11 20:13:55 PDT 2024
================
@@ -2234,10 +2238,9 @@ bool RISCVTargetLowering::isOffsetFoldingLegal(
// element. The second returned element indicated that there should be a FNEG
// followed.
// (3) `{-1, _}` if there is no way FLI can be used to materialize Imm.
-std::pair<int, bool> RISCVTargetLowering::getLegalZfaFPImm(const APFloat &Imm,
----------------
dtcxzyw wrote:
Header comment should be updated.
https://github.com/llvm/llvm-project/pull/108316
More information about the llvm-commits
mailing list