[all-commits] [llvm/llvm-project] 4e408a: [AArch64][GlobalISel] Select full-fp16 s16 G_FCONS...
Jessica Paquette via All-commits
all-commits at lists.llvm.org
Fri Sep 10 19:38:23 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4e408aae2c55a8fd71b5a96eb86db350a7acc443
https://github.com/llvm/llvm-project/commit/4e408aae2c55a8fd71b5a96eb86db350a7acc443
Author: Jessica Paquette <jpaquette at apple.com>
Date: 2021-09-10 (Fri, 10 Sep 2021)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/select-fp16-fconstant.mir
Log Message:
-----------
[AArch64][GlobalISel] Select full-fp16 s16 G_FCONSTANT as a constant pool load
When we have full-fp16 support, we should (manually select) s16 G_FCONSTANT to
a constant pool load.
Add support for that to `emitLoadFromConstantPool` + the existing constant
selection code.
Also tidy up the constant selection code a little. There were some out-of-date
comments + some dead code.
Differential Revision: https://reviews.llvm.org/D108957
More information about the All-commits
mailing list