[PATCH] D63058: [InlineCost] Fix bug 42084: return the first negative result

Yevgeny Rouban via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 14 04:48:13 PDT 2019


yrouban updated this revision to Diff 204741.
yrouban added a comment.

- extracted a separate function //GetFirstNegative()//
- changed the test to check that the bug is fixed


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63058/new/

https://reviews.llvm.org/D63058

Files:
  llvm/lib/Analysis/InlineCost.cpp
  llvm/test/Transforms/Inline/inline_negative_result.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63058.204741.patch
Type: text/x-patch
Size: 6918 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190614/b27b9fdf/attachment.bin>


More information about the llvm-commits mailing list