[PATCH] D44573: [AArch64] Add patterns matching (fabs (fsub x y)) to (fabd x y)
John Brawn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 19 05:19:09 PDT 2018
john.brawn updated this revision to Diff 138898.
john.brawn added a comment.
I'm pretty sure we never get to trying to match the patterns when we don't have FullFP16, due to differences in fp16 type legalization, but looking at AArch64GenAsmMatcher.inc there is indeed no predicate checking so it makes sense to add predicates here.
Repository:
rL LLVM
https://reviews.llvm.org/D44573
Files:
lib/Target/AArch64/AArch64InstrInfo.td
test/CodeGen/AArch64/arm64-vabs.ll
test/CodeGen/AArch64/fp16_intrinsic_scalar_2op.ll
test/CodeGen/AArch64/fp16_intrinsic_vector_2op.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44573.138898.patch
Type: text/x-patch
Size: 7751 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180319/2e1066ad/attachment.bin>
More information about the llvm-commits
mailing list