[PATCH] D87554: [GISel]: Add combine for G_FABS to G_FABS

Michael Kitzan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 14 10:06:36 PDT 2020


mkitzan updated this revision to Diff 291603.
mkitzan added a comment.

- Used `replaceRegWith` instead of building a copy


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87554/new/

https://reviews.llvm.org/D87554

Files:
  llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
  llvm/include/llvm/Target/GlobalISel/Combine.td
  llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/combine-fabs.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87554.291603.patch
Type: text/x-patch
Size: 4400 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200914/4b34ba35/attachment.bin>


More information about the llvm-commits mailing list