llvm-capstone/mlir/test/Analysis
drblallo 2bd6642533
[mlir][dataflow]Fix dense backward dataflow intraprocedural hook (#76865)
The dataflow analysis framework within MLIR allows to customize the
transfer function when a `call-like` operation is encuntered.

The check to see if the analysis was executed in intraprocedural mode
was executed after the check to see if the callee had the
CallableOpInterface, and thus intraprocedural analyses would behave as
interpocedural ones when performing indirect calls.

This commit fixes the issue by performing the check for
intraprocedurality first.

Dense forward analyses were already behaving correctly.
https://github.com/llvm/llvm-project/blob/main/mlir/lib/Analysis/DataFlow/DenseAnalysis.cpp#L63

Co-authored-by: massimo <mo.fioravanti@gmail.com>
2024-01-04 10:28:12 +01:00
..
DataFlow [mlir][dataflow]Fix dense backward dataflow intraprocedural hook (#76865) 2024-01-04 10:28:12 +01:00
invalid.mlir [mlir][Analysis] Guard data flow analysis from no block function 2023-02-22 15:20:11 +09:00
test-alias-analysis-extending.mlir [mlir] Make LocalAliasAnalysis extesible 2022-12-21 14:15:35 +01:00
test-alias-analysis-modref.mlir [mlir][Pass] Include anchor op in -pass-pipeline 2022-11-03 11:36:12 -04:00
test-alias-analysis.mlir [mlir][Pass] Include anchor op in -pass-pipeline 2022-11-03 11:36:12 -04:00
test-callgraph.mlir [mlir][CallGraph] Add special call graph node for representing unknown callees 2022-09-09 20:22:59 +02:00
test-cfg-loop-info.mlir [mlir][Analysis] Introduce LoopInfo in mlir 2023-04-05 12:57:16 +00:00
test-dominance.mlir [mlir][Pass] Include anchor op in -pass-pipeline 2022-11-03 11:36:12 -04:00
test-foo-analysis.mlir [mlir][NFC] Remove trailing whitespaces from *.td and *.mlir files. 2022-11-28 15:26:30 -08:00
test-liveness.mlir [mlir][Pass] Include anchor op in -pass-pipeline 2022-11-03 11:36:12 -04:00
test-match-reduction.mlir [mlir][Pass] Include anchor op in -pass-pipeline 2022-11-03 11:36:12 -04:00
test-shape-fn-report.mlir
test-topoligical-sort.mlir [mlir][Pass] Include anchor op in -pass-pipeline 2022-11-03 11:36:12 -04:00