[llvm] [RISCV] Implement RISCVTTIImpl::shouldConsiderAddressTypePromotion for RISCV (PR #102560)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 8 23:43:14 PDT 2024
LiqinWeng wrote:
test case form drystone:
```
void test5(int array2[50][50], int a, int b) {
int loc = a + 5;
array2[loc][loc] += 1;
array2[loc + 3][loc] = b;
}
```
The optimization effects are as follows:
![image](https://github.com/user-attachments/assets/8da9920c-d6bf-4368-ab2f-889d3e07d9ea)
https://github.com/llvm/llvm-project/pull/102560
More information about the llvm-commits
mailing list