[PATCH] D83770: [CGP] Limit converting phi types to simple loads and stores

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 14 07:06:49 PDT 2020


dmgreen created this revision.
dmgreen added reviewers: efriedma, craig.topper, nikic, SjoerdMeijer, tbosch.
Herald added subscribers: jfb, hiraditya.
Herald added a project: LLVM.

Instcombine limits converting phi types to simple loads and stores. This does the same in codegenprepare, not processing phis that are not simple.

Note that volatile loads/store ISel will happy convert between float and int. Atomics are more likely to always be integer. This just keeps things simple and doesn't process either.


https://reviews.llvm.org/D83770

Files:
  llvm/lib/CodeGen/CodeGenPrepare.cpp
  llvm/test/CodeGen/AArch64/convertphitype.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83770.277809.patch
Type: text/x-patch
Size: 10097 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200714/f9b0637e/attachment.bin>


More information about the llvm-commits mailing list