llvm-project/llvm/test/Feature/OperandBundles
Philip Reames 7b54de5fef [funcattrs] Fix a bug in recently introduced writeonly argument inference
This fixes a bug in 740057d.  There's two ways to describe the issue:
* One caller hasn't yet proven nocapture on the argument.  Given that, the inference routine is responsible for bailing out on a potential capture.
* Even if we know the argument is nocapture, the access inference needs to traverse the exact set of users the capture tracking would (or exit conservatively).  Even if capture tracking can prove a store is non-capturing (e.g. to a local alloc which doesn't escape), we still need to track the copy of the pointer to see if it's later reloaded and accessed again.

Note that all the test changes except the newly added ones appear to be false negatives.  That is, cases where we could prove writeonly, but the current code isn't strong enough.  That's why I didn't spot this originally.
2021-12-03 08:57:15 -08:00
..
adce.ll [test] Use -passes syntax in Feature/OperandBundles lit tests 2021-11-27 09:52:55 +01:00
basic-aa-argmemonly.ll [test] Use -passes syntax in Feature/OperandBundles lit tests 2021-11-27 09:52:55 +01:00
dse.ll [test] Use -passes syntax in Feature/OperandBundles lit tests 2021-11-27 09:52:55 +01:00
early-cse.ll [test] Use -passes syntax in Feature/OperandBundles lit tests 2021-11-27 09:52:55 +01:00
function-attrs.ll [FunctionAttrs] Force old pm in test so it doens't behave differently depending on the configuration setting for this flag 2021-04-09 11:46:19 +02:00
inliner-conservative.ll
merge-func.ll
pr26510.ll [funcattrs] Fix a bug in recently introduced writeonly argument inference 2021-12-03 08:57:15 -08:00
special-state.ll