[PATCH] D133203: [TypePromotionPass] Don't treat phi's as ToPromote

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 2 06:49:46 PDT 2022


dmgreen created this revision.
dmgreen added reviewers: avieira, samparker, samtebbs.
Herald added a subscriber: hiraditya.
Herald added a project: All.
dmgreen requested review of this revision.
Herald added a project: LLVM.

This attempts to stop the type promotion pass transforming where it is not profitable, by not marking PhiNodes as ToPromote.


https://reviews.llvm.org/D133203

Files:
  llvm/lib/CodeGen/TypePromotion.cpp
  llvm/test/CodeGen/AArch64/atomic-ops.ll
  llvm/test/CodeGen/AArch64/cmpxchg-idioms.ll
  llvm/test/CodeGen/AArch64/typepromotion-cost.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133203.457582.patch
Type: text/x-patch
Size: 4679 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220902/aee51434/attachment.bin>


More information about the llvm-commits mailing list