Repository navigation
Add a VM to EmitC conversion and CModule Target - #2536
Conversation
|
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
|
@googlebot I fixed it. Added Simon to the group of IML contributors. |
|
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
|
@ScottTodd @GMNGeoffrey Maybe you want to take a look as well :) Bazel_to_cmake is currently failing and we need to prohibit it from touching those files. @simon-camp FYI :) |
| target.addLegalDialect<IREE::VM::VMDialect>(); | ||
| target.addIllegalOp<IREE::VM::AddI32Op>(); | ||
|
|
||
| if (failed(applyPartialConversion(getOperation(), target, patterns))) { |
There was a problem hiding this comment.
Should this be a full conversion? They tend to give nicer errors, so if we expect everything to end up in the legal set, I'd recommend using that. It looks like you've already done the work of defining the VMDialect as legal (which I assume will go away once all the conversions are in place), so you should be able to make this a full conversion and it will just legalize the add op.
There was a problem hiding this comment.
Thanks, for the advice :) You're right, as soon as all conversions are in place, it was planned to change this to a full conversion. If that's already possible because the VM dialect is defined as legal, we should already do this. @simon-camp Do you want to take a look?
There was a problem hiding this comment.
Yeah I switched to a full conversion and also changed the Pass to run on an IREE Module instead of a std Module.
@GMNGeoffrey Just for clarification.
As we are going to translate the whole module later this is correct I guess?
If I read https://mlir.llvm.org/docs/PassManagement/#operation-pass correctly one can replace the Operation itself as well as the children?
There was a problem hiding this comment.
You can modify the operation itself in an operation pass, but you can't replace it because that would be adding a new operation to the parent region. The pass as-is is fine. If you want a rewrite of an IREE module to happen, I think you would need the pass to operate on whatever the parent of that is (probably a std Module).
* c404740 Merge pull request #2677 from antiagainst/google-to-main * 300ea5e Report error message for type mismatch (#2666) * 0a9b126 Upload integrations bazel invocation to result store (#2658) * e84db55 Revert "Add GitHub action to create PRs merging google -> main" (#2676) * 360e2f0 Add a VM to EmitC conversion and CModule Target (#2536) * 7283cee Avoid running docker builds as root (#2663) * ffc7080 [ci] Add Dockerfile for bazel-nvidia and use it in Kokoro (#2546) * f536871 Enable iota.test on vulkan-spirv and llvm-ir backends. (#2670) * 326a995 Update third_party/sdl2 submodule to latest. (#2657) * 6326322 Include python headers even if nested. (#2669) * 06ed2db Add matmul tile and vectorize lowering stratgy to LinalgToLLVM passes (#2608) * a1914e7 Add a ZLIB find_package call for INSTALLED llvm builds. * d7412e9 Merge remote-tracking branch 'origin/main' into bazel-gpu * d687de8 Fix format * 96e224c [ci] Add Dockerfile and Kokoro configuration for Bazel and SwiftShader (#2646) * 6e5ddbc Test entry function conversion to LLVMIR (#2641) * 314afa5 Disable sliding window * 36f8551 Merge google -> main #2656 * 8baacad Disable SDL sensor support on Windows. (#2655) * 2b91d9a Run integrations build as root (#2654) * b784bf2 Delete unnecessary 'continuous' Kokoro configs (#2649) * 84f52e1 Fixes dead getting started link. (#2652) * 50d15b4 Shuffle file again * a33973e [ci] Add docker and kokoro configuration for SwiftShader (#2628) * 71dbd91 Move file to proper place * c9cd5f0 Add build.sh and update build_and_update_gcr.py * 1172972 Update to the new structure * ac7d661 Merge remote-tracking branch 'origin/main' into bazel-gpu * 1425737 Fix flatcc target name and binary path (#2599) * 8c18b8c Refactoring bytecode_module to use flatcc instead of flatbuffers C++. This imp.. * 3762c13 Linking in the flatcc bytecode_module_def files. This ensures they are correct.. * eb53de3 Building bytecode_module_def with flatcc. * a47b4bd Fix docker names in comments * c8bc5aa Merge remote-tracking branch 'origin/main' into bazel-gpu * 6622499 [ci] Add Dockerfile for bazel-nvidia and use it in Kokoro COPYBARA_INTEGRATE_REVIEW=#2691 from antiagainst:merge-main c404740 PiperOrigin-RevId: 323662370
* c404740 Merge pull request #2677 from antiagainst/google-to-main * 300ea5e Report error message for type mismatch (#2666) * 0a9b126 Upload integrations bazel invocation to result store (#2658) * e84db55 Revert "Add GitHub action to create PRs merging google -> main" (#2676) * 360e2f0 Add a VM to EmitC conversion and CModule Target (#2536) * 7283cee Avoid running docker builds as root (#2663) * ffc7080 [ci] Add Dockerfile for bazel-nvidia and use it in Kokoro (#2546) * f536871 Enable iota.test on vulkan-spirv and llvm-ir backends. (#2670) * 326a995 Update third_party/sdl2 submodule to latest. (#2657) * 6326322 Include python headers even if nested. (#2669) * 06ed2db Add matmul tile and vectorize lowering stratgy to LinalgToLLVM passes (#2608) * a1914e7 Add a ZLIB find_package call for INSTALLED llvm builds. * d7412e9 Merge remote-tracking branch 'origin/main' into bazel-gpu * d687de8 Fix format * 96e224c [ci] Add Dockerfile and Kokoro configuration for Bazel and SwiftShader (#2646) * 6e5ddbc Test entry function conversion to LLVMIR (#2641) * 314afa5 Disable sliding window * 36f8551 Merge google -> main #2656 * 8baacad Disable SDL sensor support on Windows. (#2655) * 2b91d9a Run integrations build as root (#2654) * b784bf2 Delete unnecessary 'continuous' Kokoro configs (#2649) * 84f52e1 Fixes dead getting started link. (#2652) * 50d15b4 Shuffle file again * a33973e [ci] Add docker and kokoro configuration for SwiftShader (#2628) * 71dbd91 Move file to proper place * c9cd5f0 Add build.sh and update build_and_update_gcr.py * 1172972 Update to the new structure * ac7d661 Merge remote-tracking branch 'origin/main' into bazel-gpu * 1425737 Fix flatcc target name and binary path (#2599) * 8c18b8c Refactoring bytecode_module to use flatcc instead of flatbuffers C++. This imp.. * 3762c13 Linking in the flatcc bytecode_module_def files. This ensures they are correct.. * eb53de3 Building bytecode_module_def with flatcc. * a47b4bd Fix docker names in comments * c8bc5aa Merge remote-tracking branch 'origin/main' into bazel-gpu * 6622499 [ci] Add Dockerfile for bazel-nvidia and use it in Kokoro
This reverts commit 360e2f0. Reverting to fix authorship
…" (iree-org#2703) This reverts commit 360e2f0. Reverting to fix authorship
Makes first progress on iree-org#1173: * Defines `IREE_HAVE_EMITC_DIALECT` to enable conditional builds, which are CMake only so far * Enables the EmitC dialect in iree-opt and iree-translate * Adds a VMToEmitC conversion (test) pass * Adds a C target to the VM So far an empty file is written. In a follow up, we will implement EmitC -> textual C, (re)using EmitC's CppTarget within the CModule target. Co-authored-by: Simon Camphausen <[email protected]>
Makes first progress on #1173: * Defines `IREE_HAVE_EMITC_DIALECT` to enable conditional builds, which are CMake only so far * Enables the EmitC dialect in iree-opt and iree-translate * Adds a VMToEmitC conversion (test) pass * Adds a C target to the VM So far an empty file is written. In a follow up, we will implement EmitC -> textual C, (re)using EmitC's CppTarget within the CModule target. Co-authored-by: Simon Camphausen <[email protected]>
…" (iree-org#2703) This reverts commit 360e2f0. Reverting to fix authorship
Makes first progress on iree-org#1173: * Defines `IREE_HAVE_EMITC_DIALECT` to enable conditional builds, which are CMake only so far * Enables the EmitC dialect in iree-opt and iree-translate * Adds a VMToEmitC conversion (test) pass * Adds a C target to the VM So far an empty file is written. In a follow up, we will implement EmitC -> textual C, (re)using EmitC's CppTarget within the CModule target. Co-authored-by: Simon Camphausen <[email protected]>
…" (iree-org#2703) This reverts commit 360e2f0. Reverting to fix authorship
Makes first progress on iree-org#1173: * Defines `IREE_HAVE_EMITC_DIALECT` to enable conditional builds, which are CMake only so far * Enables the EmitC dialect in iree-opt and iree-translate * Adds a VMToEmitC conversion (test) pass * Adds a C target to the VM So far an empty file is written. In a follow up, we will implement EmitC -> textual C, (re)using EmitC's CppTarget within the CModule target. Co-authored-by: Simon Camphausen <[email protected]>
* 6c1869b Add license header to linker scripts (#2724) * 6d32fe8 Updates all e2e tests to use TracedModuleTestCase (#2736) * 7fea2dd Revert "[android] Ignore adb push status for the executable (#2627)" (#2735) * da48d03 Adds a class for tracing module calls and example tests. (#2660) * d66150d Enables `conv_test` on vulkan. (#2723) * a3b73bf Add .python-version to .gitignore (#2727) * 6d2bfd3 Enables passing MobileNet and MobileNetV2 vision tests (#2725) * 763dc09 Fix ModelBuilder build (#2726) * 528a86a Update the codegen pipeline example snippets to better demonstrate (#2709) * 91a05ff Merge google -> main (#2719) * f0307a8 Revert "Merge google -> main" (#2718) * 77d2f8b Merge google -> main (#2711) * aafabbc Add linker scripts to cmake pyiree builds to hide symbols. (#2707) * 1918d5c Updated gather to run on LLVM and SPIRV (#2701) * ec38aa0 Add a VM to EmitC conversion and CModule Target (#2536) * 32fe2c9 Revert "Add a VM to EmitC conversion and CModule Target (#2536)" (#2703) * e7f90b6 Revert addition of DYLIB-LLVM-AOT as a default backend (#2702) * 48efada Dump input values to a file. (#2683) * 0fd8a55 Mark shell scripts as executable (#2699) * 966fe78 Add dep "//iree/base:localfile" to iree-run-mlir (#2687) * 64e2987 Merge google -> main (#2698) * ced7477 Update scripts for packaging wheels from bazel. * 1c05e0a Disable dylib driver for android build (#2692) * e00a85f Disable a few gcc warnings that are chatty. * 74af1f0 Add a config for gcc. (#2696) * eec62a1 Remove dylib-llvm-aot tests (#2694) * 11bd7a0 Fix stdalign include in Android (#2688) * b9026bd Enable dylib-llvm-aot backend e2e/xla_op tests (#2639) * 8ed9f73 Added Complex operation lowerings to pre-target conversion (#2662) * 8224247 Working around duplicate func->llvm.func rewrites. (#2685) * f2d6649 Bump pybind11 to head. (#2592) * 9ac5241 [NFC] Remove empty ArrayRef<NamedAttribute> arg in op creation (#2686) * 36abdfd [ModelBuilder] Revert spurious path change (#2684) * c96bbb1 Merge pull request #2568 from google/benvanik-flatcc-vm * f80864f [ModelBuilder] Add MemRefUtil helpers for padding. (#2577) * 1425737 Fix flatcc target name and binary path (#2599) * 8c18b8c Refactoring bytecode_module to use flatcc instead of flatbuffers C++. This imp.. * 3762c13 Linking in the flatcc bytecode_module_def files. This ensures they are correct.. * eb53de3 Building bytecode_module_def with flatcc. COPYBARA_INTEGRATE_REVIEW=#2700 from hanhanW:fix-google c20d6f5 PiperOrigin-RevId: 324296127
* 6c1869b Add license header to linker scripts (#2724) * 6d32fe8 Updates all e2e tests to use TracedModuleTestCase (#2736) * 7fea2dd Revert "[android] Ignore adb push status for the executable (#2627)" (#2735) * da48d03 Adds a class for tracing module calls and example tests. (#2660) * d66150d Enables `conv_test` on vulkan. (#2723) * a3b73bf Add .python-version to .gitignore (#2727) * 6d2bfd3 Enables passing MobileNet and MobileNetV2 vision tests (#2725) * 763dc09 Fix ModelBuilder build (#2726) * 528a86a Update the codegen pipeline example snippets to better demonstrate (#2709) * 91a05ff Merge google -> main (#2719) * f0307a8 Revert "Merge google -> main" (#2718) * 77d2f8b Merge google -> main (#2711) * aafabbc Add linker scripts to cmake pyiree builds to hide symbols. (#2707) * 1918d5c Updated gather to run on LLVM and SPIRV (#2701) * ec38aa0 Add a VM to EmitC conversion and CModule Target (#2536) * 32fe2c9 Revert "Add a VM to EmitC conversion and CModule Target (#2536)" (#2703) * e7f90b6 Revert addition of DYLIB-LLVM-AOT as a default backend (#2702) * 48efada Dump input values to a file. (#2683) * 0fd8a55 Mark shell scripts as executable (#2699) * 966fe78 Add dep "//iree/base:localfile" to iree-run-mlir (#2687) * 64e2987 Merge google -> main (#2698) * ced7477 Update scripts for packaging wheels from bazel. * 1c05e0a Disable dylib driver for android build (#2692) * e00a85f Disable a few gcc warnings that are chatty. * 74af1f0 Add a config for gcc. (#2696) * eec62a1 Remove dylib-llvm-aot tests (#2694) * 11bd7a0 Fix stdalign include in Android (#2688) * b9026bd Enable dylib-llvm-aot backend e2e/xla_op tests (#2639) * 8ed9f73 Added Complex operation lowerings to pre-target conversion (#2662) * 8224247 Working around duplicate func->llvm.func rewrites. (#2685) * f2d6649 Bump pybind11 to head. (#2592) * 9ac5241 [NFC] Remove empty ArrayRef<NamedAttribute> arg in op creation (#2686) * 36abdfd [ModelBuilder] Revert spurious path change (#2684) * c96bbb1 Merge pull request #2568 from google/benvanik-flatcc-vm * f80864f [ModelBuilder] Add MemRefUtil helpers for padding. (#2577) * 1425737 Fix flatcc target name and binary path (#2599) * 8c18b8c Refactoring bytecode_module to use flatcc instead of flatbuffers C++. This imp.. * 3762c13 Linking in the flatcc bytecode_module_def files. This ensures they are correct.. * eb53de3 Building bytecode_module_def with flatcc. COPYBARA_INTEGRATE_REVIEW=#2700 from hanhanW:fix-google c20d6f5 PiperOrigin-RevId: 324296127
* 6c1869b Add license header to linker scripts (iree-org#2724) * 6d32fe8 Updates all e2e tests to use TracedModuleTestCase (iree-org#2736) * 7fea2dd Revert "[android] Ignore adb push status for the executable (iree-org#2627)" (iree-org#2735) * da48d03 Adds a class for tracing module calls and example tests. (iree-org#2660) * d66150d Enables `conv_test` on vulkan. (iree-org#2723) * a3b73bf Add .python-version to .gitignore (iree-org#2727) * 6d2bfd3 Enables passing MobileNet and MobileNetV2 vision tests (iree-org#2725) * 763dc09 Fix ModelBuilder build (iree-org#2726) * 528a86a Update the codegen pipeline example snippets to better demonstrate (iree-org#2709) * 91a05ff Merge google -> main (iree-org#2719) * f0307a8 Revert "Merge google -> main" (iree-org#2718) * 77d2f8b Merge google -> main (iree-org#2711) * aafabbc Add linker scripts to cmake pyiree builds to hide symbols. (iree-org#2707) * 1918d5c Updated gather to run on LLVM and SPIRV (iree-org#2701) * ec38aa0 Add a VM to EmitC conversion and CModule Target (iree-org#2536) * 32fe2c9 Revert "Add a VM to EmitC conversion and CModule Target (iree-org#2536)" (iree-org#2703) * e7f90b6 Revert addition of DYLIB-LLVM-AOT as a default backend (iree-org#2702) * 48efada Dump input values to a file. (iree-org#2683) * 0fd8a55 Mark shell scripts as executable (iree-org#2699) * 966fe78 Add dep "//iree/base:localfile" to iree-run-mlir (iree-org#2687) * 64e2987 Merge google -> main (iree-org#2698) * ced7477 Update scripts for packaging wheels from bazel. * 1c05e0a Disable dylib driver for android build (iree-org#2692) * e00a85f Disable a few gcc warnings that are chatty. * 74af1f0 Add a config for gcc. (iree-org#2696) * eec62a1 Remove dylib-llvm-aot tests (iree-org#2694) * 11bd7a0 Fix stdalign include in Android (iree-org#2688) * b9026bd Enable dylib-llvm-aot backend e2e/xla_op tests (iree-org#2639) * 8ed9f73 Added Complex operation lowerings to pre-target conversion (iree-org#2662) * 8224247 Working around duplicate func->llvm.func rewrites. (iree-org#2685) * f2d6649 Bump pybind11 to head. (iree-org#2592) * 9ac5241 [NFC] Remove empty ArrayRef<NamedAttribute> arg in op creation (iree-org#2686) * 36abdfd [ModelBuilder] Revert spurious path change (iree-org#2684) * c96bbb1 Merge pull request iree-org#2568 from google/benvanik-flatcc-vm * f80864f [ModelBuilder] Add MemRefUtil helpers for padding. (iree-org#2577) * 1425737 Fix flatcc target name and binary path (iree-org#2599) * 8c18b8c Refactoring bytecode_module to use flatcc instead of flatbuffers C++. This imp.. * 3762c13 Linking in the flatcc bytecode_module_def files. This ensures they are correct.. * eb53de3 Building bytecode_module_def with flatcc. PiperOrigin-RevId: 324296127
* 6c1869b Add license header to linker scripts (iree-org#2724) * 6d32fe8 Updates all e2e tests to use TracedModuleTestCase (iree-org#2736) * 7fea2dd Revert "[android] Ignore adb push status for the executable (iree-org#2627)" (iree-org#2735) * da48d03 Adds a class for tracing module calls and example tests. (iree-org#2660) * d66150d Enables `conv_test` on vulkan. (iree-org#2723) * a3b73bf Add .python-version to .gitignore (iree-org#2727) * 6d2bfd3 Enables passing MobileNet and MobileNetV2 vision tests (iree-org#2725) * 763dc09 Fix ModelBuilder build (iree-org#2726) * 528a86a Update the codegen pipeline example snippets to better demonstrate (iree-org#2709) * 91a05ff Merge google -> main (iree-org#2719) * f0307a8 Revert "Merge google -> main" (iree-org#2718) * 77d2f8b Merge google -> main (iree-org#2711) * aafabbc Add linker scripts to cmake pyiree builds to hide symbols. (iree-org#2707) * 1918d5c Updated gather to run on LLVM and SPIRV (iree-org#2701) * ec38aa0 Add a VM to EmitC conversion and CModule Target (iree-org#2536) * 32fe2c9 Revert "Add a VM to EmitC conversion and CModule Target (iree-org#2536)" (iree-org#2703) * e7f90b6 Revert addition of DYLIB-LLVM-AOT as a default backend (iree-org#2702) * 48efada Dump input values to a file. (iree-org#2683) * 0fd8a55 Mark shell scripts as executable (iree-org#2699) * 966fe78 Add dep "//iree/base:localfile" to iree-run-mlir (iree-org#2687) * 64e2987 Merge google -> main (iree-org#2698) * ced7477 Update scripts for packaging wheels from bazel. * 1c05e0a Disable dylib driver for android build (iree-org#2692) * e00a85f Disable a few gcc warnings that are chatty. * 74af1f0 Add a config for gcc. (iree-org#2696) * eec62a1 Remove dylib-llvm-aot tests (iree-org#2694) * 11bd7a0 Fix stdalign include in Android (iree-org#2688) * b9026bd Enable dylib-llvm-aot backend e2e/xla_op tests (iree-org#2639) * 8ed9f73 Added Complex operation lowerings to pre-target conversion (iree-org#2662) * 8224247 Working around duplicate func->llvm.func rewrites. (iree-org#2685) * f2d6649 Bump pybind11 to head. (iree-org#2592) * 9ac5241 [NFC] Remove empty ArrayRef<NamedAttribute> arg in op creation (iree-org#2686) * 36abdfd [ModelBuilder] Revert spurious path change (iree-org#2684) * c96bbb1 Merge pull request iree-org#2568 from google/benvanik-flatcc-vm * f80864f [ModelBuilder] Add MemRefUtil helpers for padding. (iree-org#2577) * 1425737 Fix flatcc target name and binary path (iree-org#2599) * 8c18b8c Refactoring bytecode_module to use flatcc instead of flatbuffers C++. This imp.. * 3762c13 Linking in the flatcc bytecode_module_def files. This ensures they are correct.. * eb53de3 Building bytecode_module_def with flatcc.
* 6c1869b Add license header to linker scripts (iree-org#2724) * 6d32fe8 Updates all e2e tests to use TracedModuleTestCase (iree-org#2736) * 7fea2dd Revert "[android] Ignore adb push status for the executable (iree-org#2627)" (iree-org#2735) * da48d03 Adds a class for tracing module calls and example tests. (iree-org#2660) * d66150d Enables `conv_test` on vulkan. (iree-org#2723) * a3b73bf Add .python-version to .gitignore (iree-org#2727) * 6d2bfd3 Enables passing MobileNet and MobileNetV2 vision tests (iree-org#2725) * 763dc09 Fix ModelBuilder build (iree-org#2726) * 528a86a Update the codegen pipeline example snippets to better demonstrate (iree-org#2709) * 91a05ff Merge google -> main (iree-org#2719) * f0307a8 Revert "Merge google -> main" (iree-org#2718) * 77d2f8b Merge google -> main (iree-org#2711) * aafabbc Add linker scripts to cmake pyiree builds to hide symbols. (iree-org#2707) * 1918d5c Updated gather to run on LLVM and SPIRV (iree-org#2701) * ec38aa0 Add a VM to EmitC conversion and CModule Target (iree-org#2536) * 32fe2c9 Revert "Add a VM to EmitC conversion and CModule Target (iree-org#2536)" (iree-org#2703) * e7f90b6 Revert addition of DYLIB-LLVM-AOT as a default backend (iree-org#2702) * 48efada Dump input values to a file. (iree-org#2683) * 0fd8a55 Mark shell scripts as executable (iree-org#2699) * 966fe78 Add dep "//iree/base:localfile" to iree-run-mlir (iree-org#2687) * 64e2987 Merge google -> main (iree-org#2698) * ced7477 Update scripts for packaging wheels from bazel. * 1c05e0a Disable dylib driver for android build (iree-org#2692) * e00a85f Disable a few gcc warnings that are chatty. * 74af1f0 Add a config for gcc. (iree-org#2696) * eec62a1 Remove dylib-llvm-aot tests (iree-org#2694) * 11bd7a0 Fix stdalign include in Android (iree-org#2688) * b9026bd Enable dylib-llvm-aot backend e2e/xla_op tests (iree-org#2639) * 8ed9f73 Added Complex operation lowerings to pre-target conversion (iree-org#2662) * 8224247 Working around duplicate func->llvm.func rewrites. (iree-org#2685) * f2d6649 Bump pybind11 to head. (iree-org#2592) * 9ac5241 [NFC] Remove empty ArrayRef<NamedAttribute> arg in op creation (iree-org#2686) * 36abdfd [ModelBuilder] Revert spurious path change (iree-org#2684) * c96bbb1 Merge pull request iree-org#2568 from google/benvanik-flatcc-vm * f80864f [ModelBuilder] Add MemRefUtil helpers for padding. (iree-org#2577) * 1425737 Fix flatcc target name and binary path (iree-org#2599) * 8c18b8c Refactoring bytecode_module to use flatcc instead of flatbuffers C++. This imp.. * 3762c13 Linking in the flatcc bytecode_module_def files. This ensures they are correct.. * eb53de3 Building bytecode_module_def with flatcc. PiperOriginRevId: 324296127
* 6c1869b Add license header to linker scripts (iree-org#2724) * 6d32fe8 Updates all e2e tests to use TracedModuleTestCase (iree-org#2736) * 7fea2dd Revert "[android] Ignore adb push status for the executable (iree-org#2627)" (iree-org#2735) * da48d03 Adds a class for tracing module calls and example tests. (iree-org#2660) * d66150d Enables `conv_test` on vulkan. (iree-org#2723) * a3b73bf Add .python-version to .gitignore (iree-org#2727) * 6d2bfd3 Enables passing MobileNet and MobileNetV2 vision tests (iree-org#2725) * 763dc09 Fix ModelBuilder build (iree-org#2726) * 528a86a Update the codegen pipeline example snippets to better demonstrate (iree-org#2709) * 91a05ff Merge google -> main (iree-org#2719) * f0307a8 Revert "Merge google -> main" (iree-org#2718) * 77d2f8b Merge google -> main (iree-org#2711) * aafabbc Add linker scripts to cmake pyiree builds to hide symbols. (iree-org#2707) * 1918d5c Updated gather to run on LLVM and SPIRV (iree-org#2701) * ec38aa0 Add a VM to EmitC conversion and CModule Target (iree-org#2536) * 32fe2c9 Revert "Add a VM to EmitC conversion and CModule Target (iree-org#2536)" (iree-org#2703) * e7f90b6 Revert addition of DYLIB-LLVM-AOT as a default backend (iree-org#2702) * 48efada Dump input values to a file. (iree-org#2683) * 0fd8a55 Mark shell scripts as executable (iree-org#2699) * 966fe78 Add dep "//iree/base:localfile" to iree-run-mlir (iree-org#2687) * 64e2987 Merge google -> main (iree-org#2698) * ced7477 Update scripts for packaging wheels from bazel. * 1c05e0a Disable dylib driver for android build (iree-org#2692) * e00a85f Disable a few gcc warnings that are chatty. * 74af1f0 Add a config for gcc. (iree-org#2696) * eec62a1 Remove dylib-llvm-aot tests (iree-org#2694) * 11bd7a0 Fix stdalign include in Android (iree-org#2688) * b9026bd Enable dylib-llvm-aot backend e2e/xla_op tests (iree-org#2639) * 8ed9f73 Added Complex operation lowerings to pre-target conversion (iree-org#2662) * 8224247 Working around duplicate func->llvm.func rewrites. (iree-org#2685) * f2d6649 Bump pybind11 to head. (iree-org#2592) * 9ac5241 [NFC] Remove empty ArrayRef<NamedAttribute> arg in op creation (iree-org#2686) * 36abdfd [ModelBuilder] Revert spurious path change (iree-org#2684) * c96bbb1 Merge pull request iree-org#2568 from google/benvanik-flatcc-vm * f80864f [ModelBuilder] Add MemRefUtil helpers for padding. (iree-org#2577) * 1425737 Fix flatcc target name and binary path (iree-org#2599) * 8c18b8c Refactoring bytecode_module to use flatcc instead of flatbuffers C++. This imp.. * 3762c13 Linking in the flatcc bytecode_module_def files. This ensures they are correct.. * eb53de3 Building bytecode_module_def with flatcc. PiperOrigin-RevId: 324296127
Makes first progress on #1173:
IREE_HAVE_EMITC_DIALECTto enable conditional builds, which are CMake only so farSo far an empty file is written. In a follow up, we will implement EmitC -> textual C, (re)using EmitC's CppTarget within the CModule target.