[PATCH] D37198: [InlineCost] add visitSelectInst()

Haicheng Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 17 05:37:01 PDT 2017


haicheng updated this revision to Diff 115570.
haicheng marked 3 inline comments as done.
haicheng added a comment.

Extend simplifyInstruction() to handle the cases that not all operands are constants.  Use SimplifySelectInst() to process Select.

Thank you.

Haicheng


Repository:
  rL LLVM

https://reviews.llvm.org/D37198

Files:
  lib/Analysis/InlineCost.cpp
  test/Transforms/Inline/AArch64/select.ll
  test/Transforms/Inline/alloca-bonus.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37198.115570.patch
Type: text/x-patch
Size: 15850 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170917/db1f352a/attachment.bin>


More information about the llvm-commits mailing list