IAR LDR{,B,H}T fix#242
Conversation
Test Results 264 files - 108 264 suites - 108 0s ⏱️ - 8m 25s Results for commit 456dc6f. ± Comparison against base commit 0fa5d9f. This pull request removes 49 and adds 56 tests. Note that renamed tests count towards both.This pull request removes 5 skipped tests and adds 2 skipped tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
Inline assembler constraints were incorrect. Signed-off-by: Robin Kastberg <robin.kastberg@iar.com>
|
@JonatanAntoni I think this issue affects the other toolchains as well.. just that they got more luck with register allocation. however I hadnt set up the others to test with. Maybe worth a look? |
|
@RobinKastberg, any chance to detect issues like this in a test? E.g., by inspecting the assembly output (disassembly) as done in the Core tests using lit? I.e., you added ampersand output operand ( |
If you can trigger it you will get a compilation/assemblation error and dont need a test (I would assume, haven't checked) The hard part is making the compiler register allocation put the input register into the same register as output. And if we try too hard we will succeed and the compilation will fail. Maybe there is some happy middle ground. I can experiment a bit. |
Inline assembler constraints were incorrect. Signed-off-by: Robin Kastberg <robin.kastberg@iar.com>
Inline assembler constraints were incorrect. Signed-off-by: Robin Kastberg <robin.kastberg@iar.com>
This reverts commit 06d952b.
This reverts commit 06d952b.
Inline assembler constraints were incorrect.