[PATCH] D73948: [GlobalISel] Legalize more G_FP(EXT|TRUNC) libcalls.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 4 08:04:09 PST 2020
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp:118
+static Type *getFloatTypeForSizeInBits(LLVMContext &Ctx, unsigned Size) {
+ switch (Size) {
----------------
It might be better to pass the LLT instead of just the size in case new exotic LLTs are introduced for weird FP types in the future
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73948/new/
https://reviews.llvm.org/D73948
More information about the llvm-commits
mailing list