[PATCH] D86983: [Attributor] Fix AANoUndef initialization

Shinji Okumura via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 1 22:52:56 PDT 2020


okura added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/AttributorAttributes.cpp:7797
     else
       AANoUndef::initialize(A);
   }
----------------
jdoerfert wrote:
> can we move the `AANoUndef::initialize(A);` unconditionally to the beginning of this function?
I think we cannot because `IRAttribute::initialize` indicates an optimistic fixpoint when the associated value is undef.


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

https://reviews.llvm.org/D86983



More information about the llvm-commits mailing list