[PATCH] D50054: [ARM] Ignore pointer values in ARMCodeGenPrepare

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 14 07:02:43 PDT 2018


samparker updated this revision to Diff 160575.
samparker added a comment.

Rebased and fixed the handling of undef values. I've also moved the tests around so we have a standalone file for the call tests. Also added a small piece of control to decide whether we bother to promote or not: if we find nothing but sources, sinks and the icmp, then we don't bother doing anything.


https://reviews.llvm.org/D50054

Files:
  lib/Target/ARM/ARMCodeGenPrepare.cpp
  test/CodeGen/ARM/arm-cgp-calls.ll
  test/CodeGen/ARM/arm-cgp-phis-calls-ret.ll
  test/CodeGen/ARM/arm-cgp-phis-ret.ll
  test/CodeGen/ARM/arm-cgp-pointers.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50054.160575.patch
Type: text/x-patch
Size: 28459 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180814/e5a69087/attachment.bin>


More information about the llvm-commits mailing list