[llvm] [GlobalISel][AArch64] Legalize G_FABS and G_FNEG for SVE (PR #114784)

Thorsten Schütt via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 5 03:59:03 PST 2024


tschuett wrote:

There are no SVE patterns for fneg today. Either there is no demand for them or C++ is more efficient.

For GlobalISel, we have 
* fneg pattern with implicit_def
* fneg pattern with movprfx
* C++

fneg is just an example. There are many predicated (merging and/or zeroing) instructions without  good pattern coverage.

https://github.com/llvm/llvm-project/pull/114784


More information about the llvm-commits mailing list