In llvm alias analysis is off by default now.
This patch enable alias analysis on RISCV target during code generation by default,
and this makes more chances for improving performance.
Modified related test cases.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/CodeGen/RISCV/vararg.ll | ||
---|---|---|
498–499 | Ooops, why we got an extra store here after enable AA ? |
llvm/test/CodeGen/RISCV/vararg.ll | ||
---|---|---|
498–499 |
When AA is not enabled, a store node is legalized from vastart, this node is not parallel with other store nodes and is not directly chained to token factor, so in later combine this node becomes dead node and get removed. |
llvm/test/CodeGen/RISCV/vararg.ll | ||
---|---|---|
498–499 | Thank you for explanation :) I am OK with this little code gen degradation since enable AA sounds reasonable in general, but I would like defer the final decision to @asb and @craig.topper |
Ooops, why we got an extra store here after enable AA ?