[OpenMP][MLIR] Fix warning from getIsDevice OffloadModuleInterface function
authorAndrew Gozillon <Andrew.Gozillon@amd.com>
Tue, 28 Mar 2023 16:49:22 +0000 (11:49 -0500)
committerAndrew Gozillon <Andrew.Gozillon@amd.com>
Tue, 28 Mar 2023 17:06:04 +0000 (12:06 -0500)
commitdbd99cfc0aacd40b6d771ca1b1fd9872390d1849
tree75885fa1aa4cba58711ca5d5ffd0587a9a4b5917
parentb337735390659a7aa79bcefd1bebb89d7f278194
[OpenMP][MLIR] Fix warning from getIsDevice OffloadModuleInterface function

Missed the default return component of the function on original
implementation, which is a warning that causes subsequent
failure (but regardless it's incorrect behaviour and should
have been fixed).
mlir/include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td