[all-commits] [llvm/llvm-project] bd6eb5: [LLVM][CodeGen] Teach SelectionDAG how to expand F...
Paul Walker via All-commits
all-commits at lists.llvm.org
Fri Mar 8 04:09:26 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bd6eb54886ad12fb523e924e7291abfa2b010e3c
https://github.com/llvm/llvm-project/commit/bd6eb54886ad12fb523e924e7291abfa2b010e3c
Author: Paul Walker <paul.walker at arm.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
M llvm/lib/CodeGen/TargetPassConfig.cpp
A llvm/test/CodeGen/AArch64/fp-veclib-expansion.ll
Log Message:
-----------
[LLVM][CodeGen] Teach SelectionDAG how to expand FREM to a vector math call. (#83859)
This removes, at least when a vector library is available, a failure
case for scalable vectors. Doing so means we can confidently cost vector
FREM instructions without making an assumption that later passes will
transform the IR before it gets to the code generator.
NOTE: Whilst only FREM has been implemented the same mechanism
can be used for the other libm related ISD nodes.
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