[llvm] [AArch64] MOVI lowering (PR #185526)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 15 09:57:34 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 172124 tests passed
* 3100 tests skipped
All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.
<details>
<summary>tools/bolt/lib/Target/AArch64/CMakeFiles/LLVMBOLTTargetAArch64.dir/AArch64MCPlusBuilder.cpp.o</summary>
```
FAILED: tools/bolt/lib/Target/AArch64/CMakeFiles/LLVMBOLTTargetAArch64.dir/AArch64MCPlusBuilder.cpp.o
sccache /opt/llvm/bin/clang++ -DCMAKE_INSTALL_FULL_LIBDIR=\"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/install/lib\" -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/tools/bolt/lib/Target/AArch64 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/lib/Target/AArch64 -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/bolt/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AArch64 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AArch64 -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 -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/bolt/lib/Target/AArch64/CMakeFiles/LLVMBOLTTargetAArch64.dir/AArch64MCPlusBuilder.cpp.o -MF tools/bolt/lib/Target/AArch64/CMakeFiles/LLVMBOLTTargetAArch64.dir/AArch64MCPlusBuilder.cpp.o.d -o tools/bolt/lib/Target/AArch64/CMakeFiles/LLVMBOLTTargetAArch64.dir/AArch64MCPlusBuilder.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp:166:25: error: no viable conversion from 'std::optional<uint32_t>' (aka 'std::optional<unsigned int>') to 'int64_t' (aka 'long')
166 | .addImm(I->Op2));
| ^~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/MC/MCInstBuilder.h:43:33: note: passing argument to parameter 'Val' here
43 | MCInstBuilder &addImm(int64_t Val) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp:170:17: error: no viable conversion from 'std::optional<uint32_t>' (aka 'std::optional<unsigned int>') to 'int64_t' (aka 'long')
170 | I->Op2));
| ^~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/MC/MCInstBuilder.h:43:33: note: passing argument to parameter 'Val' here
43 | MCInstBuilder &addImm(int64_t Val) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp:180:38: error: no viable conversion from 'std::optional<uint32_t>' (aka 'std::optional<unsigned int>') to 'int64_t' (aka 'long')
180 | .addImm(I->Op2));
| ^~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/MC/MCInstBuilder.h:43:33: note: passing argument to parameter 'Val' here
43 | MCInstBuilder &addImm(int64_t Val) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp:187:58: error: no viable conversion from 'std::optional<uint32_t>' (aka 'std::optional<unsigned int>') to 'int64_t' (aka 'long')
187 | MCInstBuilder(I->Opcode).addReg(DstReg).addImm(I->Op1).addImm(
| ^~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/MC/MCInstBuilder.h:43:33: note: passing argument to parameter 'Val' here
43 | MCInstBuilder &addImm(int64_t Val) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp:188:15: error: no viable conversion from 'std::optional<uint32_t>' (aka 'std::optional<unsigned int>') to 'int64_t' (aka 'long')
188 | I->Op2));
| ^~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/MC/MCInstBuilder.h:43:33: note: passing argument to parameter 'Val' here
43 | MCInstBuilder &addImm(int64_t Val) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp:195:38: error: no viable conversion from 'std::optional<uint32_t>' (aka 'std::optional<unsigned int>') to 'int64_t' (aka 'long')
195 | .addImm(I->Op1)
| ^~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/MC/MCInstBuilder.h:43:33: note: passing argument to parameter 'Val' here
43 | MCInstBuilder &addImm(int64_t Val) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp:196:38: error: no viable conversion from 'std::optional<uint32_t>' (aka 'std::optional<unsigned int>') to 'int64_t' (aka 'long')
196 | .addImm(I->Op2));
| ^~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/MC/MCInstBuilder.h:43:33: note: passing argument to parameter 'Val' here
43 | MCInstBuilder &addImm(int64_t Val) {
| ^
7 errors 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/185526
More information about the llvm-commits
mailing list