[all-commits] [llvm/llvm-project] d98737: [GlobalISel] Add IRTranslator support for G_ISNAN
Jessica Paquette via All-commits
all-commits at lists.llvm.org
Wed Aug 18 10:48:27 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d9873711cb03ac7aedcaadcba42f82c66e962e6e
https://github.com/llvm/llvm-project/commit/d9873711cb03ac7aedcaadcba42f82c66e962e6e
Author: Jessica Paquette <jpaquette at apple.com>
Date: 2021-08-18 (Wed, 18 Aug 2021)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
A llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-isnan.ll
Log Message:
-----------
[GlobalISel] Add IRTranslator support for G_ISNAN
Translate the `@llvm.isnan` intrinsic to G_ISNAN when we see it.
This is pretty much the same as the associated SelectionDAGBuilder code. Main
difference is that we don't expand it here. It makes more sense to do that
during legalization in GlobalISel. GlobalISel will just legalize the generated
illegal types.
Differential Revision: https://reviews.llvm.org/D108226
More information about the All-commits
mailing list