[all-commits] [llvm/llvm-project] 76fca1: [NFC] Update DXContainer tests to use fake parts

Chris B via All-commits all-commits at lists.llvm.org
Fri Dec 9 11:19:40 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 76fca14750e3ca536e9b65a99ed55730cd704403
      https://github.com/llvm/llvm-project/commit/76fca14750e3ca536e9b65a99ed55730cd704403
  Author: Chris Bieneman <chris.bieneman at me.com>
  Date:   2022-12-09 (Fri, 09 Dec 2022)

  Changed paths:
    M llvm/test/tools/obj2yaml/DXContainer/DXILPart.yaml
    M llvm/test/tools/obj2yaml/DXContainer/ExplicitSizeAndOffsets.yaml
    M llvm/test/tools/obj2yaml/DXContainer/InvalidOffset.yaml
    M llvm/test/tools/obj2yaml/DXContainer/InvalidSize.yaml
    M llvm/test/tools/obj2yaml/DXContainer/OmitSizeAndOffsets.yaml
    M llvm/test/tools/obj2yaml/DXContainer/ShaderFlags.yaml
    M llvm/test/tools/obj2yaml/DXContainer/ShaderFlagsEmpty.yaml
    M llvm/unittests/Object/DXContainerTest.cpp
    M llvm/unittests/ObjectYAML/DXContainerYAMLTest.cpp

  Log Message:
  -----------
  [NFC] Update DXContainer tests to use fake parts

The tests that are focused on testing the file structure should use
fake part names so that the errors get triggered consistently. As we
add parsing support for known data types and structures under the parts
the parsing errors change to be more semantically accurate.

This change ensures the general errors continue to work with less churn
on the test cases in the future.


  Commit: 2b405e7e049b754224d90fc630b44ed26fef0aab
      https://github.com/llvm/llvm-project/commit/2b405e7e049b754224d90fc630b44ed26fef0aab
  Author: Chris Bieneman <chris.bieneman at me.com>
  Date:   2022-12-09 (Fri, 09 Dec 2022)

  Changed paths:
    M llvm/test/CodeGen/DirectX/min_vec_size.ll

  Log Message:
  -----------
  [NFC][DX] Update test case to use new opt flags

The legacy `-<pass>` options are now erroring out. This updates to the
new pass manager option.


Compare: https://github.com/llvm/llvm-project/compare/3b7ac5b295df...2b405e7e049b


More information about the All-commits mailing list