[PATCH] D57197: [GlobalISel][AArch64] Add support for @llvm.cos and @llvm.sin intrinsics
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 24 15:32:57 PST 2019
arsenm added inline comments.
================
Comment at: lib/Target/AArch64/AArch64LegalizerInfo.cpp:147-151
+ .fewerElementsIf(
+ [=](const LegalityQuery &Query) { return Query.Types[0].isVector(); },
+ [=](const LegalityQuery &Query) {
+ return std::make_pair(0, Query.Types[0].getElementType());
+ })
----------------
.scalarize once I commit that
================
Comment at: lib/Target/AArch64/AArch64LegalizerInfo.cpp:153-155
+ .widenScalarIf(
+ [=](const LegalityQuery &Query) { return Query.Types[0] == s16; },
+ [=](const LegalityQuery &Query) { return std::make_pair(0, s32); })
----------------
minScalar(0, s32)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57197/new/
https://reviews.llvm.org/D57197
More information about the llvm-commits
mailing list