[MLIR] [Python] Fix the Windows build broken by d747a17
authorJohn Demme <john.demme@microsoft.com>
Wed, 10 Aug 2022 03:07:33 +0000 (20:07 -0700)
committerJohn Demme <john.demme@microsoft.com>
Wed, 10 Aug 2022 03:07:33 +0000 (20:07 -0700)
commitd44f8a50d50909e67f28f91511045404261dbcbf
tree7abfe002e924434ba1c93d2f79ca0c6f639dbb89
parentd747a170a47dce64aefb906211e8aaed0c6bd6f6
[MLIR] [Python] Fix the Windows build broken by d747a17

Windows builds require all control paths return. Since we don't have
`llvm_unreachable` in the Python bindings, just return `None`.
mlir/lib/Bindings/Python/IRCore.cpp