[all-commits] [llvm/llvm-project] a1f30c: [NFC] [DirectX] Update DirectX codegen test `CBuff...

Deric C. via All-commits all-commits at lists.llvm.org
Thu Nov 27 12:02:37 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a1f30c24ea2cf7d3acdd0f6eed19f737ae26b0d2
      https://github.com/llvm/llvm-project/commit/a1f30c24ea2cf7d3acdd0f6eed19f737ae26b0d2
  Author: Deric C. <cheung.deric at gmail.com>
  Date:   2025-11-27 (Thu, 27 Nov 2025)

  Changed paths:
    M llvm/test/CodeGen/DirectX/CBufferAccess/gep-ce-two-uses.ll

  Log Message:
  -----------
  [NFC] [DirectX] Update DirectX codegen test `CBufferAccess/gep-ce-two-uses.ll` due to changes to ReplaceConstant (#169848)

Fixes an LLVM DirectX codegen test after it broke due to #169141

The CBuffer loads and GEPs are no longer duplicated when there are two
or more accesses within the same basic block.
This PR removes the duplicate check for CBuffer load and GEP from the
original test function `@f` and adds a new test function `@g` which
places duplicate CBuffer loads into separate basic blocks.



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