llvm-project/llvm/test/Transforms/Attributor
Johannes Doerfert af48351cc8 [Attributor][FIX] Stabilize the state of AAReturnedValues each update
For AAReturnedValues we treated new and existing information differently
in the updateImpl. Only the latter was properly analyzed and
categorized. The former was thought to be analyzed in the subsequent
update. Since the Attributor does not support "self-updates" we need to
make sure the state is "stable" after each updateImpl invocation. That
is, if the surrounding information does not change, the state is valid.
Now we make sure all return values have been handled and properly
categorized each iteration. We might not update again if we have not
requested a non-fix attribute so we cannot "wait" for the next update to
analyze a new return value.

Bug reported by @sdmitriev.
2020-05-12 21:00:30 -05:00
..
ArgumentPromotion [Attributor] Make AAIsDead dependences optional to prevent top state 2020-05-11 15:32:47 -05:00
IPConstantProp [Attributor] Make AAIsDead dependences optional to prevent top state 2020-05-11 15:32:47 -05:00
reduced [Attributor][NFC] Remove obsolete option from tests 2020-04-21 15:22:10 -05:00
align.ll [Attributor] Make AAIsDead dependences optional to prevent top state 2020-05-11 15:32:47 -05:00
alwaysinline.ll [Attributor] Force update of "newly live" abstract attributes 2020-05-11 15:32:47 -05:00
callbacks.ll [Attributor] Merge the query set into AbstractAttribute 2020-05-10 22:27:00 -05:00
dereferenceable-1.ll [Attributor] Make AAIsDead dependences optional to prevent top state 2020-05-11 15:32:47 -05:00
dereferenceable-2.ll [Attributor] Force update of "newly live" abstract attributes 2020-05-11 15:32:47 -05:00
heap_to_stack.ll [Attributor] Use existing helpers to determine IR facts 2020-05-10 19:06:10 -05:00
internal-noalias.ll [Attributor] Make AAIsDead dependences optional to prevent top state 2020-05-11 15:32:47 -05:00
liveness.ll [Attributor] Make AAIsDead dependences optional to prevent top state 2020-05-11 15:32:47 -05:00
liveness_chains.ll [Attributor][NFC] Remove obsolete option from tests 2020-04-21 15:22:10 -05:00
lvi-after-jumpthreading.ll [Attributor][NFC] Remove obsolete option from tests 2020-04-21 15:22:10 -05:00
lvi-for-ashr.ll [Attributor][NFC] Remove obsolete option from tests 2020-04-21 15:22:10 -05:00
memory_locations.ll [Attributor][FIX] Carefully handle/ignore/forget `argmemonly` 2020-05-10 19:06:11 -05:00
misc.ll [Attributor] Make AAIsDead dependences optional to prevent top state 2020-05-11 15:32:47 -05:00
misc_crash.ll [Attributor] Fixup block addresses after rewriting function signature 2020-05-12 13:53:04 -07:00
new_attributes.ll [Attributor][FIX] Record dependences for assumed dead abstract attributes 2020-05-07 17:00:50 -05:00
noalias.ll [Attributor] Make AAIsDead dependences optional to prevent top state 2020-05-11 15:32:47 -05:00
nocapture-1.ll [Attributor] Use existing helpers to determine IR facts 2020-05-10 19:06:10 -05:00
nocapture-2.ll [Attributor] Make AAIsDead dependences optional to prevent top state 2020-05-11 15:32:47 -05:00
nofree.ll [Attributor] Make AAIsDead dependences optional to prevent top state 2020-05-11 15:32:47 -05:00
nonnull.ll [Attributor] Make AAIsDead dependences optional to prevent top state 2020-05-11 15:32:47 -05:00
norecurse.ll [Attributor] Make AAIsDead dependences optional to prevent top state 2020-05-11 15:32:47 -05:00
noreturn.ll [Attributor][NFC] Remove obsolete option from tests 2020-04-21 15:22:10 -05:00
noreturn_async.ll [Attributor][NFC] Remove obsolete option from tests 2020-04-21 15:22:10 -05:00
noreturn_sync.ll [Attributor] Force update of "newly live" abstract attributes 2020-05-11 15:32:47 -05:00
nosync.ll [Attributor][NFC] Remove obsolete option from tests 2020-04-21 15:22:10 -05:00
nounwind.ll [Attributor][NFC] Remove obsolete option from tests 2020-04-21 15:22:10 -05:00
range.ll [Attributor] Make AAIsDead dependences optional to prevent top state 2020-05-11 15:32:47 -05:00
read_write_returned_arguments_scc.ll [Attributor] Make AAIsDead dependences optional to prevent top state 2020-05-11 15:32:47 -05:00
readattrs.ll [Attributor] Make AAIsDead dependences optional to prevent top state 2020-05-11 15:32:47 -05:00
returned.ll [Attributor][FIX] Stabilize the state of AAReturnedValues each update 2020-05-12 21:00:30 -05:00
undefined_behavior.ll [Attributor][FIX] Record dependences for assumed dead abstract attributes 2020-05-07 17:00:50 -05:00
value-simplify.ll [Attributor] Use existing helpers to determine IR facts 2020-05-10 19:06:10 -05:00
willreturn.ll [Attributor][FIX] Record dependences for assumed dead abstract attributes 2020-05-07 17:00:50 -05:00
wrapper.ll [Attributor][NFC] Remove obsolete option from tests 2020-04-21 15:22:10 -05:00