-
-
Notifications
You must be signed in to change notification settings - Fork 15k
assert! and assert_eq! generate different assembly #55914
Copy link
Copy link
Open
Labels
A-codegenArea: Code generationArea: Code generationC-optimizationCategory: An issue highlighting optimization opportunities or PRs implementing suchCategory: An issue highlighting optimization opportunities or PRs implementing suchI-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.
Description
Metadata
Metadata
Assignees
Labels
A-codegenArea: Code generationArea: Code generationC-optimizationCategory: An issue highlighting optimization opportunities or PRs implementing suchCategory: An issue highlighting optimization opportunities or PRs implementing suchI-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Concidering this simple code
The generate very different assembly
There is a difference regarding the parameter formatting in the "assert_false" branch
LBB7_1andLBB8_1, but what's even worse is, that the assert itself does differ and I don't see a reason why.