mrk-its / rust-mos

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
55 stars 7 forks source link

LLVM ERROR: unable to legalize instruction: G_STORE #25

Closed mrk-its closed 6 months ago

mrk-its commented 6 months ago

https://github.com/mrk-its/aoc2022/tree/new_rust

$ cargo run -p day03 
   Compiling day03 v0.1.0 (/workspaces/aoc2022/day03)
LLVM ERROR: unable to legalize instruction: G_STORE %23:_(<8 x s8>), %4:_(p0) :: (store (<8 x s8>) into %ir.tmp, !alias.scope !169) (in function: _ZN5day039intersect17hc709d6326969dd78E)
error: could not compile `day03` (bin "day03")
mrk-its commented 6 months ago

fixed by https://github.com/mrk-its/rust-mos/commit/df6c903024ddbe203ee611cf943025c4964ba67f