[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:35 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 104820 tests passed
* 2541 tests skipped
All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.
<details>
<summary>unittests/Target/ARM/CMakeFiles/ARMTests.dir/MachineInstrTest.cpp.o</summary>
```
FAILED: unittests/Target/ARM/CMakeFiles/ARMTests.dir/MachineInstrTest.cpp.o
sccache /opt/llvm/bin/clang++ -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Target/ARM -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Target/ARM -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/ARM -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/ARM -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googlemock/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -UNDEBUG -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -Wno-suggest-override -MD -MT unittests/Target/ARM/CMakeFiles/ARMTests.dir/MachineInstrTest.cpp.o -MF unittests/Target/ARM/CMakeFiles/ARMTests.dir/MachineInstrTest.cpp.o.d -o unittests/Target/ARM/CMakeFiles/ARMTests.dir/MachineInstrTest.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Target/ARM/MachineInstrTest.cpp
/home/gha/actions-runner/_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());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_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());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_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 {
| ^~~~~~~~~~~~
/home/gha/actions-runner/_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());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_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());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_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 {
| ^~~~~~~~~~~~
/home/gha/actions-runner/_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());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_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());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_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 {
| ^~~~~~~~~~~~
/home/gha/actions-runner/_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());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_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());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_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 {
| ^~~~~~~~~~~~
/home/gha/actions-runner/_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());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_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());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_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 {
| ^~~~~~~~~~~~
/home/gha/actions-runner/_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());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_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());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_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>unittests/Target/ARM/CMakeFiles/ARMTests.dir/InstSizes.cpp.o</summary>
```
FAILED: unittests/Target/ARM/CMakeFiles/ARMTests.dir/InstSizes.cpp.o
sccache /opt/llvm/bin/clang++ -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Target/ARM -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Target/ARM -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/ARM -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/ARM -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googlemock/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -UNDEBUG -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -Wno-suggest-override -MD -MT unittests/Target/ARM/CMakeFiles/ARMTests.dir/InstSizes.cpp.o -MF unittests/Target/ARM/CMakeFiles/ARMTests.dir/InstSizes.cpp.o.d -o unittests/Target/ARM/CMakeFiles/ARMTests.dir/InstSizes.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Target/ARM/InstSizes.cpp
/home/gha/actions-runner/_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());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_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());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_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