[PATCH] D80991: [WIP][Attributor] AAPotentialValues Attribute

Shinji Okumura via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 19 01:02:26 PDT 2020


okura updated this revision to Diff 271938.
okura added a comment.

I'm sorry for the delayed update. When I add logic for binary operators, I had a new problem and It took me a while to settle.

- add logic for binary operators in `AAPotentialValueFloating::updateImpl`
- fix fatal mistakes in a method of `PotentialValueState`
- change whole logic in `AAPotentialValuesCallSiteArgument`
- confirmed all expected value simplification were achieved by above changes

There remain some unnecessary print statements for debugging. I'll delete it.


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

https://reviews.llvm.org/D80991

Files:
  llvm/include/llvm/Transforms/IPO/Attributor.h
  llvm/lib/Transforms/IPO/Attributor.cpp
  llvm/lib/Transforms/IPO/AttributorAttributes.cpp
  llvm/test/Transforms/Attributor/potential.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80991.271938.patch
Type: text/x-patch
Size: 40571 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200619/634fb65a/attachment.bin>


More information about the llvm-commits mailing list