[BYOC] Refine AnnotateTarget and MergeCompilerRegion Passes (#5277)
* add target to region
* refactor annotate_target
* Make all unit test working
* quick fix
* enable BN, unit test failed
* Fix vm test, unit test. Refactor annotate_target a bit.
* quick fix fusion
* revert fusion change
* style fix
* Refactor merge region pass
* format
* minor fix
* Skip e2e test
* lint
* support AnnotateTarget multiple runs
* Add HasAttr and revert DNNL codegen
* address comment
Co-authored-by: Zhi Chen <chzhi@amazon.com>
15 files changed: