[PATCH] D152222: [RISCV] Fix the num of chain SDNode introduced in 9e0f9f113248093e737c4cf5450f0a3c2bcd90ba

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 5 23:53:54 PDT 2023


craig.topper added a comment.

In D152222#4398226 <https://reviews.llvm.org/D152222#4398226>, @zixuan-wu wrote:

>> We only fold normal loads if it removes the scalar load. So that's different than the load update which won't be removed.
>
> I got. 
> You mean the scalar load update node can't be folded so that there are still two load(one scalar and one vector) result. Instead, it should be one vector load.

Correct.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152222/new/

https://reviews.llvm.org/D152222



More information about the llvm-commits mailing list