[all-commits] [llvm/llvm-project] 7dbfa7: [HLSL] Add handle initialization for simple resour...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Thu Oct 17 18:40:03 PDT 2024


  Branch: refs/heads/users/vitalybuka/spr/main.lsan-process-non-suspended-threads
  Home:   https://github.com/llvm/llvm-project
  Commit: 7dbfa7b981417773d01c52b0d716d592870081bb
      https://github.com/llvm/llvm-project/commit/7dbfa7b981417773d01c52b0d716d592870081bb
  Author: Helena Kotas <hekotas at microsoft.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    M clang/include/clang/AST/Type.h
    M clang/lib/AST/Type.cpp
    M clang/lib/CodeGen/CGDeclCXX.cpp
    M clang/lib/CodeGen/CGHLSLRuntime.cpp
    M clang/lib/CodeGen/CGHLSLRuntime.h
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/test/CodeGenHLSL/builtins/RWBuffer-constructor.hlsl
    M clang/test/CodeGenHLSL/builtins/StructuredBuffer-constructor.hlsl

  Log Message:
  -----------
  [HLSL] Add handle initialization for simple resource declarations (#111207)

Adds `@_init_resource_bindings()` function to module initialization that
includes `handle.fromBinding` intrinsic calls for simple resource
declarations. Arrays of resources or resources inside user defined types
are not supported yet.

While this unblocks our progress on [Compile a runnable shader from
clang](https://github.com/llvm/wg-hlsl/issues/7) milestone, this is
probably not the way we would like to handle resource binding
initialization going forward. Ideally, it should be done via the
resource class constructors in order to support dynamic resource binding
or unbounded arrays if resources.

Depends on PRs #110327 and #111203.

Part 1 of #105076


  Commit: e9eec14bb3566f6578950797559de98678f16985
      https://github.com/llvm/llvm-project/commit/e9eec14bb3566f6578950797559de98678f16985
  Author: tangaac <tangyan01 at loongson.cn>
  Date:   2024-10-18 (Fri, 18 Oct 2024)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Arch/LoongArch.cpp
    A clang/test/Driver/loongarch-mfrecipe.c
    M llvm/lib/Target/LoongArch/LoongArchFloat32InstrInfo.td
    M llvm/lib/Target/LoongArch/LoongArchFloat64InstrInfo.td
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
    M llvm/lib/Target/LoongArch/LoongArchLASXInstrInfo.td
    M llvm/lib/Target/LoongArch/LoongArchLSXInstrInfo.td
    A llvm/test/CodeGen/LoongArch/fdiv-reciprocal-estimate.ll
    A llvm/test/CodeGen/LoongArch/fsqrt-reciprocal-estimate.ll
    A llvm/test/CodeGen/LoongArch/lasx/fdiv-reciprocal-estimate.ll
    A llvm/test/CodeGen/LoongArch/lasx/fsqrt-reciprocal-estimate.ll
    A llvm/test/CodeGen/LoongArch/lsx/fdiv-reciprocal-estimate.ll
    A llvm/test/CodeGen/LoongArch/lsx/fsqrt-reciprocal-estimate.ll

  Log Message:
  -----------
  [LoongArch] [CodeGen] Add options for Clang to generate LoongArch-specific frecipe & frsqrte instructions (#109917)

Two options: `-mfrecipe` & `-mno-frecipe`.
Enable or Disable frecipe.{s/d} and frsqrte.{s/d} instructions. 
The default is `-mno-frecipe`.


  Commit: 69a798a996e0cd9d521db38167cadf841d629d38
      https://github.com/llvm/llvm-project/commit/69a798a996e0cd9d521db38167cadf841d629d38
  Author: goldsteinn <35538541+goldsteinn at users.noreply.github.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    M clang/test/CodeGen/attr-counted-by-pr88931.cpp
    M clang/test/OpenMP/bug57757.cpp
    M llvm/include/llvm/IR/Attributes.h
    M llvm/lib/IR/Attributes.cpp
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    M llvm/test/Transforms/Inline/access-attributes-prop.ll
    M llvm/test/Transforms/Inline/assumptions-from-callsite-attrs.ll
    M llvm/test/Transforms/Inline/byval.ll
    M llvm/test/Transforms/PhaseOrdering/pr95152.ll

  Log Message:
  -----------
  Reapply "[Inliner] Propagate more attributes to params when inlining (#91101)" (2nd Attempt) (#112749)

Root cause of the bug was code hanging onto `range` attr after
changing BitWidth. This was fixed in PR #112633.


  Commit: a9aec0b7845ae812186ee5f01fdba322cd025322
      https://github.com/llvm/llvm-project/commit/a9aec0b7845ae812186ee5f01fdba322cd025322
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    M clang/include/clang/AST/Type.h
    M clang/include/clang/Driver/Options.td
    M clang/lib/AST/Type.cpp
    M clang/lib/CodeGen/CGDeclCXX.cpp
    M clang/lib/CodeGen/CGHLSLRuntime.cpp
    M clang/lib/CodeGen/CGHLSLRuntime.h
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/Driver/ToolChains/Arch/LoongArch.cpp
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/test/CodeGen/attr-counted-by-pr88931.cpp
    M clang/test/CodeGenHLSL/builtins/RWBuffer-constructor.hlsl
    M clang/test/CodeGenHLSL/builtins/StructuredBuffer-constructor.hlsl
    A clang/test/Driver/loongarch-mfrecipe.c
    M clang/test/OpenMP/bug57757.cpp
    M llvm/include/llvm/IR/Attributes.h
    M llvm/lib/IR/Attributes.cpp
    M llvm/lib/Target/LoongArch/LoongArchFloat32InstrInfo.td
    M llvm/lib/Target/LoongArch/LoongArchFloat64InstrInfo.td
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
    M llvm/lib/Target/LoongArch/LoongArchLASXInstrInfo.td
    M llvm/lib/Target/LoongArch/LoongArchLSXInstrInfo.td
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    A llvm/test/CodeGen/LoongArch/fdiv-reciprocal-estimate.ll
    A llvm/test/CodeGen/LoongArch/fsqrt-reciprocal-estimate.ll
    A llvm/test/CodeGen/LoongArch/lasx/fdiv-reciprocal-estimate.ll
    A llvm/test/CodeGen/LoongArch/lasx/fsqrt-reciprocal-estimate.ll
    A llvm/test/CodeGen/LoongArch/lsx/fdiv-reciprocal-estimate.ll
    A llvm/test/CodeGen/LoongArch/lsx/fsqrt-reciprocal-estimate.ll
    M llvm/test/Transforms/Inline/access-attributes-prop.ll
    M llvm/test/Transforms/Inline/assumptions-from-callsite-attrs.ll
    M llvm/test/Transforms/Inline/byval.ll
    M llvm/test/Transforms/PhaseOrdering/pr95152.ll

  Log Message:
  -----------
  [𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.4

[skip ci]


Compare: https://github.com/llvm/llvm-project/compare/733d50b48640...a9aec0b7845a

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