[PATCH] D132939: [Peephole] rewrite INSERT_SUBREG to SUBREG_TO_REG if upper bits zero

Allen zhong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 3 04:11:15 PDT 2022


Allen updated this revision to Diff 457780.
Allen retitled this revision from "[TwoAddressInstruction] rewrite INSERT_SUBREG to SUBREG_TO_REG if upper bits zero" to "[Peephole] rewrite INSERT_SUBREG to SUBREG_TO_REG if upper bits zero".
Allen edited the summary of this revision.
Allen added a comment.

move this transform in target-specific code to ensure the safety


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

https://reviews.llvm.org/D132939

Files:
  llvm/lib/Target/AArch64/AArch64MIPeepholeOpt.cpp
  llvm/test/CodeGen/AArch64/peephole-insert-subreg.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132939.457780.patch
Type: text/x-patch
Size: 4956 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220903/eb8b1201/attachment.bin>


More information about the llvm-commits mailing list