Extract the decision to combine into a post-inc address into a function to make the logic more clear and re-usable. This is a prep step for D75847.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Hi @samparker , this change caused a regression in Spec2k6 which we run in Linaro's CI. The root cause seems to be that loads with a post increment became load plus an add in one specific function. Certainly unexpected for an NFC change.
E.g.
- ldr x1, [x20], #48 + ldr x1, [x1] + add x2, x19, #48
To reproduce build the attached source file with:
clang -O2 --target=aarch64-linux-gnu -c ~/io_lat4.i -S -o -
You should see a difference in the "write_checksum" function.