llvm is generating different move code for interior moves, and moving an argument #15953
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
I'm not quite sure if this has a performance impact, but I noticed that rust seems to be generating different code for moves inside a function and a function argument. Here's an example:
At opt-level=3, llvm generates:
cc: @pcwalton.
The text was updated successfully, but these errors were encountered: