[PATCH] D130100: [AArch64] Combine a load into GPR followed by a copy to FPR to a load into FPR directly through MIPeepholeOpt

Mingming Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 1 11:14:27 PDT 2022


mingmingl updated this revision to Diff 449080.
mingmingl marked an inline comment as not done.
mingmingl added a comment.

Update implementation to bail out on illegal conditions, major ones include

1. ldr is not safe to move
2. load fold barriers exist between ldr and copy
3. ldr or copy are a part of MI bundle.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130100

Files:
  llvm/lib/Target/AArch64/AArch64MIPeepholeOpt.cpp
  llvm/test/CodeGen/AArch64/arm64-subvector-extend.ll
  llvm/test/CodeGen/AArch64/arm64-vmul.ll
  llvm/test/CodeGen/AArch64/dp1.ll
  llvm/test/CodeGen/AArch64/neon-extadd.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130100.449080.patch
Type: text/x-patch
Size: 34576 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220801/4d76d243/attachment-0001.bin>


More information about the llvm-commits mailing list