[PATCH] D30721: [GlobalISel] Add default action for G_FNEG
Volkan Keles via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 7 14:49:53 PST 2017
volkan created this revision.
Herald added subscribers: rovka, dberris.
https://reviews.llvm.org/rL297171 introduced G_FNEG for floating-point negation instruction and IRTranslator started to translate `FSUB -0.0, X` to `FNEG X`. This patch adds a default action for G_FNEG to avoid breaking existing targets.
https://reviews.llvm.org/D30721
Files:
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
lib/CodeGen/GlobalISel/LegalizerInfo.cpp
test/CodeGen/AArch64/GlobalISel/legalize-fneg.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30721.90946.patch
Type: text/x-patch
Size: 3659 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170307/13c7746d/attachment.bin>
More information about the llvm-commits
mailing list