[all-commits] [llvm/llvm-project] 025954: [HLSL][RootSignature] Add parsing infastructure fo...

Qinkun Bao via All-commits all-commits at lists.llvm.org
Mon May 26 20:22:35 PDT 2025


  Branch: refs/heads/users/qinkunbao/spr/implement-srcsanitize-for-ubsan
  Home:   https://github.com/llvm/llvm-project
  Commit: 02595417cef525cf1eeeb66e4719a3f9e9dc88b0
      https://github.com/llvm/llvm-project/commit/02595417cef525cf1eeeb66e4719a3f9e9dc88b0
  Author: Finn Plummer <finn.c.plum at gmail.com>
  Date:   2025-05-26 (Mon, 26 May 2025)

  Changed paths:
    M clang/include/clang/Lex/HLSLRootSignatureTokenKinds.def
    M clang/include/clang/Parse/ParseHLSLRootSignature.h
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/unittests/Lex/LexHLSLRootSignatureTest.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
    M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h

  Log Message:
  -----------
  [HLSL][RootSignature] Add parsing infastructure for StaticSampler (#140180)

- define StaticSampler in-memory representation
- implement the infastructure for parsing parameters of StaticSampler
- define and implement parsing of the `s` reg to demonstrate
functionality
- add unit tests

First part of https://github.com/llvm/llvm-project/issues/126574


  Commit: abcd19e7d9acd54c10027ed4a68909ea5cf0e96c
      https://github.com/llvm/llvm-project/commit/abcd19e7d9acd54c10027ed4a68909ea5cf0e96c
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-05-26 (Mon, 26 May 2025)

  Changed paths:
    M llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
    M llvm/test/MC/Mips/set-defined-symbol.s
    M llvm/test/MC/Mips/set-sym-recursive.s

  Log Message:
  -----------
  MIPS: Register .set created symbols

When the `.set` directive is used to equate a symbol (`.set symbol,
expression`), ensure the created symbol is registered in the symbol
table.


  Commit: 714096c132662715d05af9a892b4d9552673a644
      https://github.com/llvm/llvm-project/commit/714096c132662715d05af9a892b4d9552673a644
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2025-05-26 (Mon, 26 May 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
    M llvm/test/CodeGen/PowerPC/ppc64-icbt-pwr7.ll

  Log Message:
  -----------
  [LLVM] Skip dumping inline SDag children (#141359)

If they're simple enough to render inline, we don't need to dump them
again in the recursive walk.


  Commit: 23c2f8827b13ef8c72f09f931a70e088c35ccc77
      https://github.com/llvm/llvm-project/commit/23c2f8827b13ef8c72f09f931a70e088c35ccc77
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-05-26 (Mon, 26 May 2025)

  Changed paths:
    M clang/lib/Format/MacroCallReconstructor.cpp

  Log Message:
  -----------
  [Format] Use llvm::count_if (NFC) (#141518)


  Commit: 76ee2d34f787357eec1a5dec16b294578151881e
      https://github.com/llvm/llvm-project/commit/76ee2d34f787357eec1a5dec16b294578151881e
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-05-26 (Mon, 26 May 2025)

  Changed paths:
    M llvm/lib/MC/MCAsmStreamer.cpp
    M llvm/lib/MC/MCParser/AsmParser.cpp
    M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
    A llvm/test/MC/AsmParser/redef-err.s
    A llvm/test/MC/AsmParser/redef.s
    R llvm/test/MC/AsmParser/variables-invalid.s
    M llvm/test/MC/ELF/weakref.s

  Log Message:
  -----------
  MCParser: Error when .set reassigns a non-redefinable variable

The conditions in parseAssignmentExpression are conservative. We should
also report an error when a non-redefiniable variable (e.g. .equiv
followed by .set; .weakref followed by .set).

Make MCAsmStreamer::emitLabel call setOffset to make the behavior
similar to MCObjectStreamer. `isUndefined()` can now be replaced with
`isUnset()`.

Additionally, fix an AMDGPU API user (tested by a few tests including
MC/AMDGPU/hsa-v4.s)


  Commit: 73f0de8eb3ce007782c51f4064cd28e2018b269e
      https://github.com/llvm/llvm-project/commit/73f0de8eb3ce007782c51f4064cd28e2018b269e
  Author: Qinkun Bao <qinkun at google.com>
  Date:   2025-05-26 (Mon, 26 May 2025)

  Changed paths:
    M clang/include/clang/Lex/HLSLRootSignatureTokenKinds.def
    M clang/include/clang/Parse/ParseHLSLRootSignature.h
    M clang/lib/Format/MacroCallReconstructor.cpp
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/unittests/Lex/LexHLSLRootSignatureTest.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
    M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
    M llvm/lib/MC/MCAsmStreamer.cpp
    M llvm/lib/MC/MCParser/AsmParser.cpp
    M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
    M llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
    M llvm/test/CodeGen/PowerPC/ppc64-icbt-pwr7.ll
    A llvm/test/MC/AsmParser/redef-err.s
    A llvm/test/MC/AsmParser/redef.s
    R llvm/test/MC/AsmParser/variables-invalid.s
    M llvm/test/MC/ELF/weakref.s
    M llvm/test/MC/Mips/set-defined-symbol.s
    M llvm/test/MC/Mips/set-sym-recursive.s

  Log Message:
  -----------
  Merge branch 'main' into users/qinkunbao/spr/implement-srcsanitize-for-ubsan


Compare: https://github.com/llvm/llvm-project/compare/2a8adf6ddc4b...73f0de8eb3ce

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