[llvm] [AArch64][GlobalISel] Add a constant funnel shift post-legalizer combine. (PR #151912)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 29 01:11:29 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-x64-windows-msvc` running on `windows-gcebot2` while building `llvm` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/63/builds/11560
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/clang-windows.py ...' (failure)
...
[36/268] Linking CXX executable bin\llvm-offload-wrapper.exe
[37/268] Building CXX object tools\lld\Common\CMakeFiles\lldCommon.dir\Version.cpp.obj
[38/268] Linking CXX static library lib\lldCommon.lib
[39/268] Linking CXX executable bin\clang-offload-bundler.exe
[40/268] Linking CXX static library lib\clangTidy.lib
[41/268] Generating ../../bin/clang-offload-packager.exe
[42/268] Building CXX object tools\clang\tools\extra\clang-tidy\tool\CMakeFiles\obj.clangTidyMain.dir\ClangTidyMain.cpp.obj
[43/268] Linking CXX executable bin\clang-apply-replacements.exe
[44/268] Building CXX object lib\CodeGen\GlobalISel\CMakeFiles\LLVMGlobalISel.dir\CombinerHelperArtifacts.cpp.obj
[45/268] Building CXX object lib\Target\RISCV\CMakeFiles\LLVMRISCVCodeGen.dir\GISel\RISCVPreLegalizerCombiner.cpp.obj
FAILED: lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVPreLegalizerCombiner.cpp.obj
C:\PROGRA~2\MICROS~3\2019\PROFES~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\cl.exe /nologo /TP -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\RISCV -IC:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\lib\Target\RISCV -IC:\b\slave\clang-x64-windows-msvc\build\stage1\include -IC:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2 /DNDEBUG -std:c++17 -MD /EHs-c- /GR- /showIncludes /Folib\Target\RISCV\CMakeFiles\LLVMRISCVCodeGen.dir\GISel\RISCVPreLegalizerCombiner.cpp.obj /Fdlib\Target\RISCV\CMakeFiles\LLVMRISCVCodeGen.dir\LLVMRISCVCodeGen.pdb /FS -c C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\lib\Target\RISCV\GISel\RISCVPreLegalizerCombiner.cpp
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\RISCV\RISCVGenPreLegalizeGICombiner.inc(3027): error C2660: 'llvm::CombinerHelper::matchOrShiftToFunnelShift': function does not take 2 arguments
C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\include\llvm/CodeGen/GlobalISel/CombinerHelper.h(643): note: see declaration of 'llvm::CombinerHelper::matchOrShiftToFunnelShift'
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\RISCV\RISCVGenPreLegalizeGICombiner.inc(3027): error C2171: '!': illegal on operands of type 'void'
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\RISCV\RISCVGenPreLegalizeGICombiner.inc(3027): error C2451: a conditional expression of type 'void' is not valid
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\RISCV\RISCVGenPreLegalizeGICombiner.inc(3027): note: Expressions of type void cannot be converted to other types
[46/268] Building AArch64GenDAGISel.inc...
[47/268] Building CXX object lib\CodeGen\GlobalISel\CMakeFiles\LLVMGlobalISel.dir\CombinerHelperVectorOps.cpp.obj
[48/268] Building CXX object lib\CodeGen\GlobalISel\CMakeFiles\LLVMGlobalISel.dir\CombinerHelperCasts.cpp.obj
[49/268] Building CXX object lib\CodeGen\GlobalISel\CMakeFiles\LLVMGlobalISel.dir\CombinerHelperCompares.cpp.obj
[50/268] Building CXX object tools\clang\tools\extra\clang-tidy\utils\CMakeFiles\obj.clangTidyUtils.dir\FixItHintUtils.cpp.obj
[51/268] Building CXX object lib\Target\Mips\CMakeFiles\LLVMMipsCodeGen.dir\MipsPreLegalizerCombiner.cpp.obj
[52/268] Linking CXX executable bin\diagtool.exe
[53/268] Building CXX object lib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\AMDGPUPreLegalizerCombiner.cpp.obj
FAILED: lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUPreLegalizerCombiner.cpp.obj
C:\PROGRA~2\MICROS~3\2019\PROFES~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\cl.exe /nologo /TP -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\AMDGPU -IC:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\lib\Target\AMDGPU -IC:\b\slave\clang-x64-windows-msvc\build\stage1\include -IC:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2 /DNDEBUG -std:c++17 -MD /EHs-c- /GR- /showIncludes /Folib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\AMDGPUPreLegalizerCombiner.cpp.obj /Fdlib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\LLVMAMDGPUCodeGen.pdb /FS -c C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\lib\Target\AMDGPU\AMDGPUPreLegalizerCombiner.cpp
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\AMDGPU\AMDGPUGenPreLegalizeGICombiner.inc(3090): error C2660: 'llvm::CombinerHelper::matchOrShiftToFunnelShift': function does not take 2 arguments
C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\include\llvm/CodeGen/GlobalISel/CombinerHelper.h(643): note: see declaration of 'llvm::CombinerHelper::matchOrShiftToFunnelShift'
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\AMDGPU\AMDGPUGenPreLegalizeGICombiner.inc(3090): error C2171: '!': illegal on operands of type 'void'
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\AMDGPU\AMDGPUGenPreLegalizeGICombiner.inc(3090): error C2451: a conditional expression of type 'void' is not valid
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\AMDGPU\AMDGPUGenPreLegalizeGICombiner.inc(3090): note: Expressions of type void cannot be converted to other types
[54/268] Building CXX object lib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\AMDGPUPostLegalizerCombiner.cpp.obj
FAILED: lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUPostLegalizerCombiner.cpp.obj
C:\PROGRA~2\MICROS~3\2019\PROFES~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\cl.exe /nologo /TP -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\AMDGPU -IC:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\lib\Target\AMDGPU -IC:\b\slave\clang-x64-windows-msvc\build\stage1\include -IC:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2 /DNDEBUG -std:c++17 -MD /EHs-c- /GR- /showIncludes /Folib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\AMDGPUPostLegalizerCombiner.cpp.obj /Fdlib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\LLVMAMDGPUCodeGen.pdb /FS -c C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\lib\Target\AMDGPU\AMDGPUPostLegalizerCombiner.cpp
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\AMDGPU\AMDGPUGenPostLegalizeGICombiner.inc(3159): error C2660: 'llvm::CombinerHelper::matchOrShiftToFunnelShift': function does not take 2 arguments
C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\include\llvm/CodeGen/GlobalISel/CombinerHelper.h(643): note: see declaration of 'llvm::CombinerHelper::matchOrShiftToFunnelShift'
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\AMDGPU\AMDGPUGenPostLegalizeGICombiner.inc(3159): error C2171: '!': illegal on operands of type 'void'
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\AMDGPU\AMDGPUGenPostLegalizeGICombiner.inc(3159): error C2451: a conditional expression of type 'void' is not valid
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\AMDGPU\AMDGPUGenPostLegalizeGICombiner.inc(3159): note: Expressions of type void cannot be converted to other types
[55/268] Linking CXX executable bin\clang-diff.exe
[56/268] Linking CXX executable bin\modularize.exe
[57/268] Linking CXX executable bin\clang-installapi.exe
[58/268] Linking CXX executable bin\clang-reorder-fields.exe
[59/268] Linking CXX executable bin\clang-refactor.exe
[60/268] Linking CXX executable bin\clang-include-cleaner.exe
[61/268] Linking CXX executable bin\clang-doc.exe
[62/268] Linking CXX executable bin\clang-change-namespace.exe
[63/268] Building CXX object lib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\AMDGPUCombinerHelper.cpp.obj
Step 7 (stage 1 build) failure: stage 1 build (failure)
...
[36/268] Linking CXX executable bin\llvm-offload-wrapper.exe
[37/268] Building CXX object tools\lld\Common\CMakeFiles\lldCommon.dir\Version.cpp.obj
[38/268] Linking CXX static library lib\lldCommon.lib
[39/268] Linking CXX executable bin\clang-offload-bundler.exe
[40/268] Linking CXX static library lib\clangTidy.lib
[41/268] Generating ../../bin/clang-offload-packager.exe
[42/268] Building CXX object tools\clang\tools\extra\clang-tidy\tool\CMakeFiles\obj.clangTidyMain.dir\ClangTidyMain.cpp.obj
[43/268] Linking CXX executable bin\clang-apply-replacements.exe
[44/268] Building CXX object lib\CodeGen\GlobalISel\CMakeFiles\LLVMGlobalISel.dir\CombinerHelperArtifacts.cpp.obj
[45/268] Building CXX object lib\Target\RISCV\CMakeFiles\LLVMRISCVCodeGen.dir\GISel\RISCVPreLegalizerCombiner.cpp.obj
FAILED: lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVPreLegalizerCombiner.cpp.obj
C:\PROGRA~2\MICROS~3\2019\PROFES~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\cl.exe /nologo /TP -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\RISCV -IC:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\lib\Target\RISCV -IC:\b\slave\clang-x64-windows-msvc\build\stage1\include -IC:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2 /DNDEBUG -std:c++17 -MD /EHs-c- /GR- /showIncludes /Folib\Target\RISCV\CMakeFiles\LLVMRISCVCodeGen.dir\GISel\RISCVPreLegalizerCombiner.cpp.obj /Fdlib\Target\RISCV\CMakeFiles\LLVMRISCVCodeGen.dir\LLVMRISCVCodeGen.pdb /FS -c C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\lib\Target\RISCV\GISel\RISCVPreLegalizerCombiner.cpp
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\RISCV\RISCVGenPreLegalizeGICombiner.inc(3027): error C2660: 'llvm::CombinerHelper::matchOrShiftToFunnelShift': function does not take 2 arguments
C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\include\llvm/CodeGen/GlobalISel/CombinerHelper.h(643): note: see declaration of 'llvm::CombinerHelper::matchOrShiftToFunnelShift'
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\RISCV\RISCVGenPreLegalizeGICombiner.inc(3027): error C2171: '!': illegal on operands of type 'void'
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\RISCV\RISCVGenPreLegalizeGICombiner.inc(3027): error C2451: a conditional expression of type 'void' is not valid
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\RISCV\RISCVGenPreLegalizeGICombiner.inc(3027): note: Expressions of type void cannot be converted to other types
[46/268] Building AArch64GenDAGISel.inc...
[47/268] Building CXX object lib\CodeGen\GlobalISel\CMakeFiles\LLVMGlobalISel.dir\CombinerHelperVectorOps.cpp.obj
[48/268] Building CXX object lib\CodeGen\GlobalISel\CMakeFiles\LLVMGlobalISel.dir\CombinerHelperCasts.cpp.obj
[49/268] Building CXX object lib\CodeGen\GlobalISel\CMakeFiles\LLVMGlobalISel.dir\CombinerHelperCompares.cpp.obj
[50/268] Building CXX object tools\clang\tools\extra\clang-tidy\utils\CMakeFiles\obj.clangTidyUtils.dir\FixItHintUtils.cpp.obj
[51/268] Building CXX object lib\Target\Mips\CMakeFiles\LLVMMipsCodeGen.dir\MipsPreLegalizerCombiner.cpp.obj
[52/268] Linking CXX executable bin\diagtool.exe
[53/268] Building CXX object lib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\AMDGPUPreLegalizerCombiner.cpp.obj
FAILED: lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUPreLegalizerCombiner.cpp.obj
C:\PROGRA~2\MICROS~3\2019\PROFES~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\cl.exe /nologo /TP -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\AMDGPU -IC:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\lib\Target\AMDGPU -IC:\b\slave\clang-x64-windows-msvc\build\stage1\include -IC:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2 /DNDEBUG -std:c++17 -MD /EHs-c- /GR- /showIncludes /Folib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\AMDGPUPreLegalizerCombiner.cpp.obj /Fdlib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\LLVMAMDGPUCodeGen.pdb /FS -c C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\lib\Target\AMDGPU\AMDGPUPreLegalizerCombiner.cpp
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\AMDGPU\AMDGPUGenPreLegalizeGICombiner.inc(3090): error C2660: 'llvm::CombinerHelper::matchOrShiftToFunnelShift': function does not take 2 arguments
C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\include\llvm/CodeGen/GlobalISel/CombinerHelper.h(643): note: see declaration of 'llvm::CombinerHelper::matchOrShiftToFunnelShift'
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\AMDGPU\AMDGPUGenPreLegalizeGICombiner.inc(3090): error C2171: '!': illegal on operands of type 'void'
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\AMDGPU\AMDGPUGenPreLegalizeGICombiner.inc(3090): error C2451: a conditional expression of type 'void' is not valid
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\AMDGPU\AMDGPUGenPreLegalizeGICombiner.inc(3090): note: Expressions of type void cannot be converted to other types
[54/268] Building CXX object lib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\AMDGPUPostLegalizerCombiner.cpp.obj
FAILED: lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUPostLegalizerCombiner.cpp.obj
C:\PROGRA~2\MICROS~3\2019\PROFES~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\cl.exe /nologo /TP -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\AMDGPU -IC:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\lib\Target\AMDGPU -IC:\b\slave\clang-x64-windows-msvc\build\stage1\include -IC:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2 /DNDEBUG -std:c++17 -MD /EHs-c- /GR- /showIncludes /Folib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\AMDGPUPostLegalizerCombiner.cpp.obj /Fdlib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\LLVMAMDGPUCodeGen.pdb /FS -c C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\lib\Target\AMDGPU\AMDGPUPostLegalizerCombiner.cpp
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\AMDGPU\AMDGPUGenPostLegalizeGICombiner.inc(3159): error C2660: 'llvm::CombinerHelper::matchOrShiftToFunnelShift': function does not take 2 arguments
C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\include\llvm/CodeGen/GlobalISel/CombinerHelper.h(643): note: see declaration of 'llvm::CombinerHelper::matchOrShiftToFunnelShift'
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\AMDGPU\AMDGPUGenPostLegalizeGICombiner.inc(3159): error C2171: '!': illegal on operands of type 'void'
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\AMDGPU\AMDGPUGenPostLegalizeGICombiner.inc(3159): error C2451: a conditional expression of type 'void' is not valid
C:\b\slave\clang-x64-windows-msvc\build\stage1\lib\Target\AMDGPU\AMDGPUGenPostLegalizeGICombiner.inc(3159): note: Expressions of type void cannot be converted to other types
[55/268] Linking CXX executable bin\clang-diff.exe
[56/268] Linking CXX executable bin\modularize.exe
[57/268] Linking CXX executable bin\clang-installapi.exe
[58/268] Linking CXX executable bin\clang-reorder-fields.exe
[59/268] Linking CXX executable bin\clang-refactor.exe
[60/268] Linking CXX executable bin\clang-include-cleaner.exe
[61/268] Linking CXX executable bin\clang-doc.exe
[62/268] Linking CXX executable bin\clang-change-namespace.exe
[63/268] Building CXX object lib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\AMDGPUCombinerHelper.cpp.obj
```
</details>
https://github.com/llvm/llvm-project/pull/151912
More information about the llvm-commits
mailing list