[PATCH] D129743: [GlobalISel] Change widenScalar of G_FCONSTANT to mutate into G_CONSTANT.
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 14 10:38:46 PDT 2022
aemerson updated this revision to Diff 444724.
aemerson added a comment.
I added a couple of tests but not exactly sure what you meant by "folds through fpext". I guess at the moment we don't have any constant folding that will transform G_FPEXT(G_CONSTANT) -> wide G_CONSTANT.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129743/new/
https://reviews.llvm.org/D129743
Files:
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
llvm/test/CodeGen/AArch64/GlobalISel/legalize-constant.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalize-fp16-fconstant.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129743.444724.patch
Type: text/x-patch
Size: 4462 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220714/db43dcfb/attachment.bin>
More information about the llvm-commits
mailing list