[all-commits] [llvm/llvm-project] 0068e3: [DirectX] Implement lowering of llvm.dx.resource.s...

Deric C. via All-commits all-commits at lists.llvm.org
Mon Jun 1 09:45:29 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0068e3c4c9233d54d22d205ab17ecd88a97050c0
      https://github.com/llvm/llvm-project/commit/0068e3c4c9233d54d22d205ab17ecd88a97050c0
  Author: Deric C. <cheung.deric at gmail.com>
  Date:   2026-06-01 (Mon, 01 Jun 2026)

  Changed paths:
    M llvm/lib/Target/DirectX/DXIL.td
    M llvm/lib/Target/DirectX/DXILOpLowering.cpp
    A llvm/test/CodeGen/DirectX/SampleBias.ll

  Log Message:
  -----------
  [DirectX] Implement lowering of llvm.dx.resource.samplebias to the SampleBias DXIL Op (#199745)

Fixes #192548

This PR implements the lowering of the `llvm.dx.resource.samplebias`
intrinsic to the `SampleBias` DXIL Op.

Although I reckon that other `lowerSample*` functions in
`DXILOpLowering.cpp` will have shared logic, this is the first one to be
implemented. Consolidating common logic between future `lowerSample*`
functions can be left to a later PR implementing the second or other
`lowerSample*` function.

Assisted-by: Claude Opus 4.6



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