[all-commits] [llvm/llvm-project] 2c88ac: [DirectX] Clean up extra vectors when lowering to ...

Justin Bogner via All-commits all-commits at lists.llvm.org
Mon Dec 2 13:34:28 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c88ac9da9f842875592b232ba957da341e62ea5
      https://github.com/llvm/llvm-project/commit/2c88ac9da9f842875592b232ba957da341e62ea5
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2024-12-02 (Mon, 02 Dec 2024)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILOpLowering.cpp
    M llvm/test/CodeGen/DirectX/BufferStore.ll

  Log Message:
  -----------
  [DirectX] Clean up extra vectors when lowering to buffer store (#116721)

DXILOpLowering runs after scalarization but `@llvm.dx.typedbuffer.store`
takes a vector, so the argument is usually an artifact. Avoid creating a
vector just to extract elements from it immediately.



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