[all-commits] [llvm/llvm-project] 62d0c0: [SelectionDAG] Remove pointer from MMO for VP stri...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Feb 26 16:15:46 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62d0c01c2c9adce67f2e1adb9feecd7ba1a97814
      https://github.com/llvm/llvm-project/commit/62d0c01c2c9adce67f2e1adb9feecd7ba1a97814
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-02-26 (Mon, 26 Feb 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    A llvm/test/CodeGen/RISCV/rvv/strided-vpload-vpstore-output.ll

  Log Message:
  -----------
  [SelectionDAG] Remove pointer from MMO for VP strided load/store. (#82667)

MachineIR alias analysis assumes that only bytes after the pointer will
be accessed. This is incorrect if the stride is negative.

This is causing miscompiles in our downstream after SLP started making
strided loads.

Fixes #82657



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list