[PATCH] D28962: Add BFI in constanthoisting pass and do the hoisting selectively

Wei Mi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 2 15:13:44 PST 2017


wmi updated this revision to Diff 86888.
wmi added a comment.

Remove MadeChange. We will still need to insert const materialization code even if there is no hoisting or merging for BBs.


Repository:
  rL LLVM

https://reviews.llvm.org/D28962

Files:
  include/llvm/Transforms/Scalar/ConstantHoisting.h
  lib/Transforms/Scalar/ConstantHoisting.cpp
  test/CodeGen/X86/constant-hoisting-bfi.ll
  test/CodeGen/X86/fold-tied-op.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28962.86888.patch
Type: text/x-patch
Size: 18963 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170202/ac878a5e/attachment.bin>


More information about the llvm-commits mailing list