[all-commits] [llvm/llvm-project] 549413: [AArch64][GlobalISel] Protect against folding load...

David Green via All-commits all-commits at lists.llvm.org
Sat Nov 16 11:53:07 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 549413fa4034898250c506098c3602e0b07680a2
      https://github.com/llvm/llvm-project/commit/549413fa4034898250c506098c3602e0b07680a2
  Author: David Green <david.green at arm.com>
  Date:   2024-11-16 (Sat, 16 Nov 2024)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/GIMatchTableExecutor.cpp
    M llvm/test/CodeGen/AArch64/neon-vector-splat.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Protect against folding loads across basic blocks.

isObviouslySafeToFold can look between a load and an instruction it can be
folded into, to check that no other memory operations prevents the fold. It
doesn't handle multiple basic blocks which we needs to guard against.



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