[llvm-branch-commits] [llvm] ARM: Read the ABI from the "target-abi" module flag (PR #217600)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Aug 20 05:49:36 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 64523 tests passed
* 2036 tests skipped
All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.
<details>
<summary>[code=1] unittests/Target/ARM/CMakeFiles/ARMTests.dir/MachineInstrTest.cpp.obj</summary>
```
FAILED: [code=1] unittests/Target/ARM/CMakeFiles/ARMTests.dir/MachineInstrTest.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -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:\_work\llvm-project\llvm-project\build\unittests\Target\ARM -IC:\_work\llvm-project\llvm-project\llvm\unittests\Target\ARM -IC:\_work\llvm-project\llvm-project\build\include -IC:\_work\llvm-project\llvm-project\llvm\include -IC:\_work\llvm-project\llvm-project\llvm\lib\Target\ARM -IC:\_work\llvm-project\llvm-project\build\lib\Target\ARM -IC:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include -IC:\_work\llvm-project\llvm-project\third-party\unittest\googlemock\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2 -std:c++17 -MD -UNDEBUG -Wno-gnu-zero-variadic-macro-arguments /EHs-c- /GR- -Wno-suggest-override /showIncludes /Founittests\Target\ARM\CMakeFiles\ARMTests.dir\MachineInstrTest.cpp.obj /Fdunittests\Target\ARM\CMakeFiles\ARMTests.dir\ -c -- C:\_work\llvm-project\llvm-project\llvm\unittests\Target\ARM\MachineInstrTest.cpp
C:\_work\llvm-project\llvm-project\llvm\unittests\Target\ARM\MachineInstrTest.cpp(89,16): error: no matching constructor for initialization of 'ARMSubtarget'
89 | ARMSubtarget ST(TM->getTargetTriple(), std::string(TM->getTargetCPU()),
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | std::string(TM->getTargetFeatureString()),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
91 | *static_cast<const ARMBaseTargetMachine *>(TM.get()), false,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
92 | TM->getTargetTriple().getDefaultFloatABI());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\lib\Target\ARM\ARMSubtarget.h(220,3): note: candidate constructor not viable: requires at least 7 arguments, but 6 were provided
220 | ARMSubtarget(const Triple &TT, const std::string &CPU, const std::string &FS,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | const ARMBaseTargetMachine &TM, bool IsLittle,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
222 | FloatABI::ABIType FloatABI, ARM::ARMABI ABI,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
223 | bool MinSize = false, DenormalMode DM = DenormalMode::getIEEE());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\lib\Target\ARM\ARMSubtarget.h(49,7): note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 6 were provided
49 | class ARMSubtarget : public ARMGenSubtargetInfo {
| ^~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\unittests\Target\ARM\MachineInstrTest.cpp(246,16): error: no matching constructor for initialization of 'ARMSubtarget'
246 | ARMSubtarget ST(TM->getTargetTriple(), std::string(TM->getTargetCPU()),
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
247 | std::string(TM->getTargetFeatureString()),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
248 | *static_cast<const ARMBaseTargetMachine *>(TM.get()), false,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
249 | TM->getTargetTriple().getDefaultFloatABI());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\lib\Target\ARM\ARMSubtarget.h(220,3): note: candidate constructor not viable: requires at least 7 arguments, but 6 were provided
220 | ARMSubtarget(const Triple &TT, const std::string &CPU, const std::string &FS,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | const ARMBaseTargetMachine &TM, bool IsLittle,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
222 | FloatABI::ABIType FloatABI, ARM::ARMABI ABI,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
223 | bool MinSize = false, DenormalMode DM = DenormalMode::getIEEE());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\lib\Target\ARM\ARMSubtarget.h(49,7): note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 6 were provided
49 | class ARMSubtarget : public ARMGenSubtargetInfo {
| ^~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\unittests\Target\ARM\MachineInstrTest.cpp(346,16): error: no matching constructor for initialization of 'ARMSubtarget'
346 | ARMSubtarget ST(TM->getTargetTriple(), std::string(TM->getTargetCPU()),
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
347 | std::string(TM->getTargetFeatureString()),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
348 | *static_cast<const ARMBaseTargetMachine *>(TM.get()), false,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
349 | TM->getTargetTriple().getDefaultFloatABI());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\lib\Target\ARM\ARMSubtarget.h(220,3): note: candidate constructor not viable: requires at least 7 arguments, but 6 were provided
220 | ARMSubtarget(const Triple &TT, const std::string &CPU, const std::string &FS,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | const ARMBaseTargetMachine &TM, bool IsLittle,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
222 | FloatABI::ABIType FloatABI, ARM::ARMABI ABI,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
223 | bool MinSize = false, DenormalMode DM = DenormalMode::getIEEE());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\lib\Target\ARM\ARMSubtarget.h(49,7): note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 6 were provided
49 | class ARMSubtarget : public ARMGenSubtargetInfo {
| ^~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\unittests\Target\ARM\MachineInstrTest.cpp(1053,16): error: no matching constructor for initialization of 'ARMSubtarget'
1053 | ARMSubtarget ST(TM->getTargetTriple(), std::string(TM->getTargetCPU()),
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1054 | std::string(TM->getTargetFeatureString()),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1055 | *static_cast<const ARMBaseTargetMachine *>(TM.get()), false,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1056 | TM->getTargetTriple().getDefaultFloatABI());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\lib\Target\ARM\ARMSubtarget.h(220,3): note: candidate constructor not viable: requires at least 7 arguments, but 6 were provided
220 | ARMSubtarget(const Triple &TT, const std::string &CPU, const std::string &FS,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | const ARMBaseTargetMachine &TM, bool IsLittle,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
222 | FloatABI::ABIType FloatABI, ARM::ARMABI ABI,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
223 | bool MinSize = false, DenormalMode DM = DenormalMode::getIEEE());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\lib\Target\ARM\ARMSubtarget.h(49,7): note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 6 were provided
49 | class ARMSubtarget : public ARMGenSubtargetInfo {
| ^~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\unittests\Target\ARM\MachineInstrTest.cpp(1197,16): error: no matching constructor for initialization of 'ARMSubtarget'
1197 | ARMSubtarget ST(TM->getTargetTriple(), std::string(TM->getTargetCPU()),
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1198 | std::string(TM->getTargetFeatureString()),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1199 | *static_cast<const ARMBaseTargetMachine *>(TM.get()), false,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1200 | TM->getTargetTriple().getDefaultFloatABI());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\lib\Target\ARM\ARMSubtarget.h(220,3): note: candidate constructor not viable: requires at least 7 arguments, but 6 were provided
220 | ARMSubtarget(const Triple &TT, const std::string &CPU, const std::string &FS,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | const ARMBaseTargetMachine &TM, bool IsLittle,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
222 | FloatABI::ABIType FloatABI, ARM::ARMABI ABI,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
223 | bool MinSize = false, DenormalMode DM = DenormalMode::getIEEE());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\lib\Target\ARM\ARMSubtarget.h(49,7): note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 6 were provided
49 | class ARMSubtarget : public ARMGenSubtargetInfo {
| ^~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\unittests\Target\ARM\MachineInstrTest.cpp(2078,16): error: no matching constructor for initialization of 'ARMSubtarget'
2078 | ARMSubtarget ST(TM->getTargetTriple(), std::string(TM->getTargetCPU()),
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2079 | std::string(TM->getTargetFeatureString()),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2080 | *static_cast<const ARMBaseTargetMachine *>(TM.get()), false,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2081 | TM->getTargetTriple().getDefaultFloatABI());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\lib\Target\ARM\ARMSubtarget.h(220,3): note: candidate constructor not viable: requires at least 7 arguments, but 6 were provided
220 | ARMSubtarget(const Triple &TT, const std::string &CPU, const std::string &FS,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | const ARMBaseTargetMachine &TM, bool IsLittle,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
222 | FloatABI::ABIType FloatABI, ARM::ARMABI ABI,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
223 | bool MinSize = false, DenormalMode DM = DenormalMode::getIEEE());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\lib\Target\ARM\ARMSubtarget.h(49,7): note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 6 were provided
49 | class ARMSubtarget : public ARMGenSubtargetInfo {
| ^~~~~~~~~~~~
6 errors generated.
```
</details>
<details>
<summary>[code=1] unittests/Target/ARM/CMakeFiles/ARMTests.dir/InstSizes.cpp.obj</summary>
```
FAILED: [code=1] unittests/Target/ARM/CMakeFiles/ARMTests.dir/InstSizes.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -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:\_work\llvm-project\llvm-project\build\unittests\Target\ARM -IC:\_work\llvm-project\llvm-project\llvm\unittests\Target\ARM -IC:\_work\llvm-project\llvm-project\build\include -IC:\_work\llvm-project\llvm-project\llvm\include -IC:\_work\llvm-project\llvm-project\llvm\lib\Target\ARM -IC:\_work\llvm-project\llvm-project\build\lib\Target\ARM -IC:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include -IC:\_work\llvm-project\llvm-project\third-party\unittest\googlemock\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2 -std:c++17 -MD -UNDEBUG -Wno-gnu-zero-variadic-macro-arguments /EHs-c- /GR- -Wno-suggest-override /showIncludes /Founittests\Target\ARM\CMakeFiles\ARMTests.dir\InstSizes.cpp.obj /Fdunittests\Target\ARM\CMakeFiles\ARMTests.dir\ -c -- C:\_work\llvm-project\llvm-project\llvm\unittests\Target\ARM\InstSizes.cpp
C:\_work\llvm-project\llvm-project\llvm\unittests\Target\ARM\InstSizes.cpp(88,16): error: no matching constructor for initialization of 'ARMSubtarget'
88 | ARMSubtarget ST(TM->getTargetTriple(), std::string(TM->getTargetCPU()),
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | std::string(TM->getTargetFeatureString()),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | *static_cast<const ARMBaseTargetMachine *>(TM.get()), false,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
91 | TM->getTargetTriple().getDefaultFloatABI());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\lib\Target\ARM\ARMSubtarget.h(220,3): note: candidate constructor not viable: requires at least 7 arguments, but 6 were provided
220 | ARMSubtarget(const Triple &TT, const std::string &CPU, const std::string &FS,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | const ARMBaseTargetMachine &TM, bool IsLittle,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
222 | FloatABI::ABIType FloatABI, ARM::ARMABI ABI,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
223 | bool MinSize = false, DenormalMode DM = DenormalMode::getIEEE());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\lib\Target\ARM\ARMSubtarget.h(49,7): note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 6 were provided
49 | class ARMSubtarget : public ARMGenSubtargetInfo {
| ^~~~~~~~~~~~
1 error generated.
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/217600
More information about the llvm-branch-commits
mailing list