-
Notifications
You must be signed in to change notification settings - Fork 14
Assertion failed: (DstReg != SrcReg && "SrcReg and DstReg cannot be the same") #27
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
Comments
I have a patch which fixes this, will upstream when I've tested it further. |
I've got a patch, it's been merged into LLVM trunk
libcore still doesn't build for another problem though - will raise something else. |
Will targeting trunk cause troubles to try and get the patches into Rust's LLVM? |
I'm not entirely sure to be honest. I'd really like it if we could just cherry-pick changes into Rust's LLVM. That should be alright because the changes will get picked up anyway when we upgrade LLVM next. The only problem is that I'm not sure if we can do that - we're supposed to be tracking emscripten's version of LLVM so I'm not sure what the Rust team think about adding more patches into the fork. I guess there is already going to be all the Rust-specific LLVM patches in there. |
Cherry picked llvm-mirror/llvm@0226ba2 to avr-rust/llvm |
While compiling Rust libcore
I've got a (massive) testcase
libcore.ll. This is the entire Rust libcore as an LLVM IR program.
Reproduction
./bin/llc ~/libcore.ll -O0 -o /dev/null
The text was updated successfully, but these errors were encountered: