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

Leo Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 7 10:12:24 PDT 2017


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

Add inline asm checks in `canReplaceOperandWithVariable`.
Add tests for inline asm constant hoisting.


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.105659.patch
Type: text/x-patch
Size: 6465 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170707/5f07e62d/attachment.bin>


More information about the llvm-commits mailing list