llvm-project/llvm/test/Transforms/FunctionAttrs
Philip Reames 3c54762226 [funcattrs] Consistently check call site attributes
This is mostly stylistic cleanup after D100226, but not entirely. When skimming the code, I found one case where we weren't accounting for attributes on the callsite at all. I'm also suspicious we had some latent bugs related to operand bundles (which are supposed to be able to *override* attributes on declarations), but I don't have concrete test cases for those, just suspicions.

Aside: The only case left in the file which directly checks attributes on the declaration is the norecurse logic. I left that because I didn't understand it; it looks obviously wrong, so I suspect I'm misinterpreting the intended semantics of the attribute.

Differential Revision: https://reviews.llvm.org/D100689
2021-04-19 13:20:50 -07:00
..
2008-09-03-Mutual.ll
2008-09-03-ReadNone.ll
2008-09-03-ReadOnly.ll [funcattrs] Add the maximal set of implied attributes to definitions 2021-04-16 14:22:19 -07:00
2008-09-13-VolatileRead.ll
2008-12-29-Constant.ll
2009-01-02-LocalStores.ll
2010-10-30-volatile.ll
arg_returned.ll
assume.ll
atomic.ll [funcattrs] Add the maximal set of implied attributes to definitions 2021-04-16 14:22:19 -07:00
comdat-ipo.ll
convergent.ll [FunctionAttrs][NPM] Fix handling of convergent 2020-11-23 21:09:41 -08:00
incompatible_fn_attrs.ll [funcattrs] Add the maximal set of implied attributes to definitions 2021-04-16 14:22:19 -07:00
int_sideeffect.ll
naked_functions.ll
nocapture.ll
nofree-attributor.ll [funcattrs] Add the maximal set of implied attributes to definitions 2021-04-16 14:22:19 -07:00
nofree.ll [funcattrs] Add the maximal set of implied attributes to definitions 2021-04-16 14:22:19 -07:00
nonnull-global.ll
nonnull.ll [ValueTracking] Don't assume readonly function will return 2021-01-24 10:40:21 +01:00
norecurse.ll [funcattrs] Infer nosync from readnone and non-convergent 2021-04-01 11:37:34 -07:00
noreturn.ll [funcattrs] Consistently check call site attributes 2021-04-19 13:20:50 -07:00
nosync.ll [funcattrs] Add the maximal set of implied attributes to definitions 2021-04-16 14:22:19 -07:00
nounwind.ll [funcattrs] Add the maximal set of implied attributes to definitions 2021-04-16 14:22:19 -07:00
operand-bundles-scc.ll [funcattrs] Infer nosync from instruction walk 2021-04-08 14:05:00 -07:00
optnone-simple.ll
optnone.ll [funcattrs] Add the maximal set of implied attributes to definitions 2021-04-16 14:22:19 -07:00
out-of-bounds-iterator-bug.ll
read-write-scc.ll [funcattrs] Infer nosync from instruction walk 2021-04-08 14:05:00 -07:00
readattrs.ll Reapply "OpaquePtr: Turn inalloca into a type attribute" 2021-03-29 08:55:30 -04:00
readnone.ll
returned.ll
willreturn-callsites.ll [funcattrs] Consistently check call site attributes 2021-04-19 13:20:50 -07:00
willreturn.ll [FunctionAttrs] Infer willreturn for functions without loops 2021-01-21 20:29:33 +01:00
writeonly.ll [funcattrs] Add the maximal set of implied attributes to definitions 2021-04-16 14:22:19 -07:00