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

[WASM] LLVM failed for 'ObservableCollectionExtensions.InternalUpdate': incoming phi sreg1 #12988

Closed
jeromelaban opened this issue Feb 13, 2019 · 0 comments
Labels

Comments

@jeromelaban
Copy link
Contributor

@jeromelaban jeromelaban commented Feb 13, 2019

Steps to Reproduce

  1. Clone this solution at commit nventive/Uno.Xaml-Controls-Gallery@f1be090.
  2. In the folder XamlControlsGallery.Wasm, under linux run msbuild /r

Current Behavior

LLVM fails to compile with the following error:


  Mono Ahead of Time compiler - compiling assembly /home/nvdevops/vsts.agent01/_work/2/s/XamlControlsGallery.Wasm/obj/Release/netstandard2.0/workAot/linker-out/Uno.Core.dll
  AOTID 76703208-9CBC-1C2B-7B26-0E38D1FFF7E6
  LLVM failed for 'ObservableCollectionExtensions.InternalUpdate': incoming phi sreg1
  Compiled: 782/785
  Output file: '/tmp/mono_aot_TSJ1jD'.
  Linking symbol: 'mono_aot_module_Uno_Core_info'.
  LLVM output file: './Uno.Core.dll.bc'.
  JIT time: 234 ms, Generation time: 132 ms, Assembly+Link time: 0 ms.

This is the failing method: https://github.com/nventive/Uno.Core/blob/ab0253ae18621647e3ceac397942c20faa9a0812/src/Uno.Core/Collections/ObservableCollectionExtensions.Update.cs#L120

Expected Behavior

The assembly is built properly.

On which platforms did you notice this

[ ] macOS
[ ] Linux
[ ] Windows
[x] WebAssembly

Version Used: 5f65ce9

vargaz added a commit to vargaz/mono that referenced this issue Feb 20, 2019
monojenkins added a commit that referenced this issue Feb 21, 2019
…uetypes+phi nodes. (#13077)

[llvm] Fix a 'incoming phi sreg1' llvm failure which happens with valuetypes+phi nodes.

Fixes #12988.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.