[PATCH] D143201: DAG: Lower single infinity is.fpclass tests to fcmp
Serge Pavlov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 6 23:58:08 PST 2023
sepavloff added a comment.
What is the advantage of such lowering?
Implementation of `is_fpclass` as `fcmp` requires materialization of infinity constant. In contrast to zero constant, which often can be easily materialized, infinity usually requires loading constant from memory. So additional memory access is required as compared to the default lowering.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143201/new/
https://reviews.llvm.org/D143201
More information about the llvm-commits
mailing list