[all-commits] [llvm/llvm-project] de41ea: [SelectionDAG][RISCV] Use FP type for legality que...
Craig Topper via All-commits
all-commits at lists.llvm.org
Thu Feb 22 20:19:03 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: de41eae41f0dc2a844b439e0246e29c1bcbb2d03
https://github.com/llvm/llvm-project/commit/de41eae41f0dc2a844b439e0246e29c1bcbb2d03
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-02-22 (Thu, 22 Feb 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[SelectionDAG][RISCV] Use FP type for legality query for LRINT/LLRINT in LegalizeVectorOps. (#82728)
This matches how LRINT/LLRINT is queried for scalar types in
LegalizeDAG.
It's confusing if they do different things since a "Legal" vector
LRINT/LLRINT would get through to LegalizeDAG which would then consider
it illegal. This doesn't happen currently because RISC-V uses Custom.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list