Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main -> google #4732

Merged
merged 53 commits into from
Feb 5, 2021
Merged

Conversation

not-jenni
Copy link
Contributor

benvanik and others added 30 commits February 2, 2021 17:39
Ideally this is upstreamed as an std.list or something.
…dims.

Cleanup as part of iree-org#4675 should move this pass to a shared place so it
can be run both in flow and hal.
This lives under a new iree/compiler/Bindings/ path that we can use
for all binding-specific transforms/ops/etc. This will make it easier to
cross-target for example HLO->tflite bindings or tflite->some future IREE
bindings. If the SIP stuff sticks around it could move to Bindings/SIP/ or
something that can be conditionally enabled for only when it's needed.
Progress on iree-org#3975 (still needs SIP workaround, but fns generated).
This creates the entry point functions exported for the tflite bindings
to use as their main function.
Fixes iree-org#3974.
Progress on iree-org#3978 and iree-org#3972 (plumbing in place, just needs attr checks).
Dynamic shapes are blocked on iree-org#3975 - SIP is munging the function
signatures and needs a bypass.
Fixes iree-org#3948.
- Move HLO -> HLO & Legalize workflow before LinalgOnTensors -> HLO
- Run canonicalization after HLO -> HLO.
- Create xla_ops tests.
Only the timeline semaphore emulation uses this so I'm moving it to a
place where it will be easy to delete (and attribute binary size to).
This cleans up a long time #yolo that was reusing the base type across both
systems. The type can still use some cleanup/be setup on
iree_vm_ref_object_t, etc but this at least splits the dependency.
The last user of it; iree-org#4369 is tracking replacing DynamicSymbols, the
handle types could be ported to unique_ptr semantics, and then the rest is
the timeline semaphores fallback.
This will allow iree/hal/local/arena.h to be swapped in its place.
There's some goo here for internal support that I forget if is still used.
…ompiling the Android Java bindings. (iree-org#4705)

Add Gradle tasks to configure and make host tools with CMake before compiling the Android Java bindings.

Progress on iree-org#4617
benvanik and others added 23 commits February 3, 2021 15:11
…ree-org#4699)

This verifies that the tool is functioning - we in general shouldn't be
checking in any tflite flatbuffers (ew) but we need something as a
reference.
Following iree-org#4702

Should just port these to pure C, or delete them. I like them though D:
*  bde47d5 Synchronize submodules with LLVM at llvm/llvm-project@ea5b75de4999
* 6200d0b Merge pull request iree-org#4707 from not-jenni:main-to-google
* 5f63a33 Integrate LLVM at llvm/llvm-project@bbb755540385
* a118dda Synchronize submodules with LLVM at llvm/llvm-project@e635feb15a91
* 149caee Integrate LLVM at llvm/llvm-project@e635feb15a91
* 7f8aeff Integrate LLVM at llvm/llvm-project@54afcade3bbc
* fe858c4 Integrate LLVM at llvm/llvm-project@fae6d129dac2
* 2fdd400 Integrate LLVM at llvm/llvm-project@2668714747c5
InvalidArgumentErrorBuilder is all that remains.
We'll expose the concept through dedicated APIs where it makes sense
(like importing/exporting platform handles/etc) vs. allowing users to
poke right into these things.
This moves casting from the bytecode dispatcher to the shared
implementation which now only consumes and return int32_t. This
simplifies the printer in the CModuleTarget (as it eliminates the need
to support unsigned int) and avoids implicits casts.
Additional arguments were added to `translateFromMLIRToVM()`, but not to the call within `translateFromMLIRToVMCModule()`.
This should be usable by build cops as-is, but the next step would be
integrating it to run on commits to the google branch to automatically
fix them up.
@google-cla google-cla bot added the cla: yes label Feb 4, 2021
@copybara-service copybara-service bot merged commit 90d4d9f into iree-org:google Feb 5, 2021
@not-jenni not-jenni mentioned this pull request Feb 5, 2021
not-jenni added a commit that referenced this pull request Feb 5, 2021
* c639354 Resolve merge conflicts between main and google
* 90d4d9f Merge pull request #4732 from not-jenni:main-to-google
* 63f4844 Remove some instances of unnecessary copy initialization.
* f815e2c Integrate LLVM at llvm/llvm-project@d1978fa4bf0d
* c579b00 Synchronize submodules with LLVM at llvm/llvm-project@91e7a1713332
* 9a80949 Integrate LLVM at llvm/llvm-project@91e7a1713332
* f3c68a3 Synchronize submodules with LLVM at llvm/llvm-project@56fcd4ea8daf
* c431428 Integrate LLVM at llvm/llvm-project@56fcd4ea8daf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants