[all-commits] [llvm/llvm-project] 1a5e18: [HLSL] Do not print details in IR for target exten...

Joshua Batista via All-commits all-commits at lists.llvm.org
Tue Dec 10 10:07:51 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a5e18a492481ff48ca764c8f7d08d231d922382
      https://github.com/llvm/llvm-project/commit/1a5e18a492481ff48ca764c8f7d08d231d922382
  Author: Joshua Batista <jbatista at microsoft.com>
  Date:   2024-12-10 (Tue, 10 Dec 2024)

  Changed paths:
    M clang/test/CodeGenHLSL/builtins/AppendStructuredBuffer-elementtype.hlsl
    M clang/test/CodeGenHLSL/builtins/ConsumeStructuredBuffer-elementtype.hlsl
    M clang/test/CodeGenHLSL/builtins/RasterizerOrderedStructuredBuffer-elementtype.hlsl
    M clang/test/CodeGenHLSL/builtins/hlsl_resource_t.hlsl
    M clang/test/CodeGenHLSL/resource-bindings.hlsl
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/unittests/IR/TypesTest.cpp

  Log Message:
  -----------
  [HLSL] Do not print details in IR for target extension types (#115971)

This PR changes how target extension types are printed when they are
emitted as IR.
This prevents repetitive phrases like "struct = type {...}" from being
repeated over and over in the outputted IR.
Additionally, it should allow opt to not crash when parsing the DXIL
output.

Fixes [#114131](https://github.com/llvm/llvm-project/issues/114131)



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