[PATCH] D34921: [ConstantHoisting] Remove dupliate logic in constant hoisting

Leo Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 9 06:14:45 PDT 2017


aoli updated this revision to Diff 105712.
aoli added a comment.

Use ImmutableCallSite to get called value.


https://reviews.llvm.org/D34921

Files:
  lib/Transforms/Scalar/ConstantHoisting.cpp
  lib/Transforms/Utils/Local.cpp
  test/Transforms/ConstantHoisting/ARM/bad-cases.ll
  test/Transforms/ConstantHoisting/ARM/insertvalue.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34921.105712.patch
Type: text/x-patch
Size: 6169 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170709/120bae2f/attachment-0001.bin>


More information about the llvm-commits mailing list