iree-org / iree

A retargetable MLIR-based machine learning compiler and runtime toolkit.
http://iree.dev/
Apache License 2.0
2.47k stars 551 forks source link

Fix Clang/GCC virtual overload error #17627

Closed sogartar closed 2 weeks ago

benvanik commented 2 weeks ago

not seeing this on the bots - I'd rather work around the issue to avoid the need for such disabling - what version of clang/gcc do you see this on? (bots seem to be using gcc 9)

sogartar commented 2 weeks ago

I used clang-17.

benvanik commented 2 weeks ago

fixed this by renaming the method to matchAndRewriteOnAffinity so there's no overloading happening anymore