[llvm] [NFC][AMDGPU] Remove unused MC insts in isPackedSingleSGPR64BitInst (PR #222463)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 9 17:08:00 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 64936 tests passed
* 2082 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=4294967295] unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests.exe</summary>
```
FAILED: [code=4294967295] unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests.exe
C:\Windows\system32\cmd.exe /C "cd . && C:\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -E vs_link_exe --msvc-ver=1944 --intdir=unittests\DebugInfo\LogicalView\CMakeFiles\DebugInfoLogicalViewTests.dir --rc="C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\rc.exe" --mt="C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\mt.exe" --manifests -- C:\clang\clang-msvc\bin\lld-link.exe /nologo @CMakeFiles\DebugInfoLogicalViewTests.rsp /out:unittests\DebugInfo\LogicalView\DebugInfoLogicalViewTests.exe /implib:unittests\DebugInfo\LogicalView\DebugInfoLogicalViewTests.lib /pdb:unittests\DebugInfo\LogicalView\DebugInfoLogicalViewTests.pdb /version:0.0 /MANIFEST:NO /Brepro /INCREMENTAL:NO /subsystem:console /STACK:10000000 && cd ."
LINK: command "C:\clang\clang-msvc\bin\lld-link.exe /nologo @CMakeFiles\DebugInfoLogicalViewTests.rsp /out:unittests\DebugInfo\LogicalView\DebugInfoLogicalViewTests.exe /implib:unittests\DebugInfo\LogicalView\DebugInfoLogicalViewTests.lib /pdb:unittests\DebugInfo\LogicalView\DebugInfoLogicalViewTests.pdb /version:0.0 /MANIFEST:NO /Brepro /INCREMENTAL:NO /subsystem:console /STACK:10000000" failed (exit code 1) with the following output:
lld-link: error: undefined symbol: LLVMInitializeXCoreTargetMC
>>> referenced by unittests\DebugInfo\LogicalView\CMakeFiles\DebugInfoLogicalViewTests.dir\__\DWARF\DwarfUtils.cpp.obj:(void __cdecl llvm::InitializeAllTargetMCs(void))
>>> referenced by unittests\DebugInfo\LogicalView\CMakeFiles\DebugInfoLogicalViewTests.dir\CodeViewReaderTest.cpp.obj
>>> referenced by unittests\DebugInfo\LogicalView\CMakeFiles\DebugInfoLogicalViewTests.dir\DWARFGeneratedTest.cpp.obj
lld-link: error: undefined symbol: void __cdecl llvm::XCore_MC::verifyInstructionPredicates(unsigned int, class llvm::FeatureBitset const &)
>>> referenced by LLVMXCoreCodeGen.lib(XCoreAsmPrinter.cpp.obj):(public: virtual void __cdecl `anonymous namespace'::XCoreAsmPrinter::emitInstruction(class llvm::MachineInstr const *))
lld-link: error: undefined symbol: public: static char const * __cdecl llvm::XCoreInstPrinter::getRegisterName(class llvm::MCRegister)
>>> referenced by LLVMXCoreCodeGen.lib(XCoreAsmPrinter.cpp.obj):(public: virtual void __cdecl `anonymous namespace'::XCoreAsmPrinter::emitInstruction(class llvm::MachineInstr const *))
>>> referenced by LLVMXCoreCodeGen.lib(XCoreAsmPrinter.cpp.obj):(public: virtual void __cdecl `anonymous namespace'::XCoreAsmPrinter::emitInstruction(class llvm::MachineInstr const *))
>>> referenced by LLVMXCoreCodeGen.lib(XCoreAsmPrinter.cpp.obj):(public: virtual void __cdecl `anonymous namespace'::XCoreAsmPrinter::emitInstruction(class llvm::MachineInstr const *))
>>> referenced 1 more times
lld-link: error: undefined symbol: struct llvm::SubtargetSubTypeKVStorage<2, 0, 23> const llvm::XCoreSubTypeKVStorage
>>> referenced by LLVMXCoreCodeGen.lib(XCoreSubtarget.cpp.obj):(public: __cdecl llvm::XCoreGenSubtargetInfo::XCoreGenSubtargetInfo(class llvm::Triple const &, class llvm::StringRef, class llvm::StringRef, class llvm::StringRef))
>>> referenced by LLVMXCoreCodeGen.lib(XCoreSubtarget.cpp.obj):(public: __cdecl llvm::XCoreGenSubtargetInfo::XCoreGenSubtargetInfo(class llvm::Triple const &, class llvm::StringRef, class llvm::StringRef, class llvm::StringRef))
>>> referenced by LLVMXCoreCodeGen.lib(XCoreSubtarget.cpp.obj):(public: __cdecl llvm::XCoreGenSubtargetInfo::XCoreGenSubtargetInfo(class llvm::Triple const &, class llvm::StringRef, class llvm::StringRef, class llvm::StringRef))
>>> referenced 1 more times
lld-link: error: undefined symbol: struct llvm::MCReadAdvanceEntry const *const llvm::XCoreReadAdvanceTable
>>> referenced by LLVMXCoreCodeGen.lib(XCoreSubtarget.cpp.obj):(public: __cdecl llvm::XCoreGenSubtargetInfo::XCoreGenSubtargetInfo(class llvm::Triple const &, class llvm::StringRef, class llvm::StringRef, class llvm::StringRef))
lld-link: error: undefined symbol: struct llvm::MCWriteLatencyEntry const *const llvm::XCoreWriteLatencyTable
>>> referenced by LLVMXCoreCodeGen.lib(XCoreSubtarget.cpp.obj):(public: __cdecl llvm::XCoreGenSubtargetInfo::XCoreGenSubtargetInfo(class llvm::Triple const &, class llvm::StringRef, class llvm::StringRef, class llvm::StringRef))
lld-link: error: undefined symbol: struct llvm::MCWriteProcResEntry const *const llvm::XCoreWriteProcResTable
>>> referenced by LLVMXCoreCodeGen.lib(XCoreSubtarget.cpp.obj):(public: __cdecl llvm::XCoreGenSubtargetInfo::XCoreGenSubtargetInfo(class llvm::Triple const &, class llvm::StringRef, class llvm::StringRef, class llvm::StringRef))
lld-link: error: undefined symbol: struct llvm::MCSchedModel const *const llvm::XCoreSchedModels
>>> referenced by LLVMXCoreCodeGen.lib(XCoreSubtarget.cpp.obj):(public: __cdecl llvm::XCoreGenSubtargetInfo::XCoreGenSubtargetInfo(class llvm::Triple const &, class llvm::StringRef, class llvm::StringRef, class llvm::StringRef))
lld-link: error: undefined symbol: unsigned int __cdecl llvm::XCore_MC::resolveVariantSchedClassImpl(unsigned int, class llvm::MCInst const *, class llvm::MCInstrInfo const *, class llvm::MCSubtargetInfo const &, unsigned int)
>>> referenced by LLVMXCoreCodeGen.lib(XCoreSubtarget.cpp.obj):(public: virtual unsigned int __cdecl llvm::XCoreGenSubtargetInfo::resolveVariantSchedClass(unsigned int, class llvm::MCInst const *, class llvm::MCInstrInfo const *, unsigned int) const)
lld-link: error: undefined symbol: struct llvm::XCoreInstrTable const llvm::XCoreDescs
>>> referenced by LLVMXCoreCodeGen.lib(XCoreInstrInfo.cpp.obj):(public: __cdecl llvm::XCoreGenInstrInfo::XCoreGenInstrInfo(class llvm::TargetSubtargetInfo const &, class llvm::TargetRegisterInfo const &, unsigned int, unsigned int, unsigned int, unsigned int))
>>> referenced by LLVMXCoreCodeGen.lib(XCoreInstrInfo.cpp.obj):(public: __cdecl llvm::XCoreInstrInfo::XCoreInstrInfo(class llvm::XCoreSubtarget const &))
lld-link: error: undefined symbol: unsigned int const *const llvm::XCoreInstrNameIndices
>>> referenced by LLVMXCoreCodeGen.lib(XCoreInstrInfo.cpp.obj):(public: __cdecl llvm::XCoreGenInstrInfo::XCoreGenInstrInfo(class llvm::TargetSubtargetInfo const &, class llvm::TargetRegisterInfo const &, unsigned int, unsigned int, unsigned int, unsigned int))
>>> referenced by LLVMXCoreCodeGen.lib(XCoreInstrInfo.cpp.obj):(public: __cdecl llvm::XCoreInstrInfo::XCoreInstrInfo(class llvm::XCoreSubtarget const &))
lld-link: error: undefined symbol: char const *const llvm::XCoreInstrNameData
>>> referenced by LLVMXCoreCodeGen.lib(XCoreInstrInfo.cpp.obj):(public: __cdecl llvm::XCoreGenInstrInfo::XCoreGenInstrInfo(class llvm::TargetSubtargetInfo const &, class llvm::TargetRegisterInfo const &, unsigned int, unsigned int, unsigned int, unsigned int))
>>> referenced by LLVMXCoreCodeGen.lib(XCoreInstrInfo.cpp.obj):(public: __cdecl llvm::XCoreInstrInfo::XCoreInstrInfo(class llvm::XCoreSubtarget const &))
lld-link: error: undefined symbol: struct llvm::MCRegisterClassStorage<2, 28, 4, 2, 1, 1> const llvm::XCoreMCRegisterClassStorage
>>> referenced by LLVMXCoreCodeGen.lib(XCoreInstrInfo.cpp.obj):(public: virtual void __cdecl llvm::XCoreInstrInfo::copyPhysReg(class llvm::MachineBasicBlock &, class llvm::MachineInstrBundleIterator<class llvm::MachineInstr, 0>, class llvm::DebugLoc const &, class llvm::Register, class llvm::Register, bool, bool, bool) const)
>>> referenced by LLVMXCoreCodeGen.lib(XCoreInstrInfo.cpp.obj):(public: virtual void __cdecl llvm::XCoreInstrInfo::copyPhysReg(class llvm::MachineBasicBlock &, class llvm::MachineInstrBundleIterator<class llvm::MachineInstr, 0>, class llvm::DebugLoc const &, class llvm::Register, class llvm::Register, bool, bool, bool) const)
>>> referenced by LLVMXCoreCodeGen.lib(XCoreInstrInfo.cpp.obj):(public: virtual void __cdecl llvm::XCoreInstrInfo::copyPhysReg(class llvm::MachineBasicBlock &, class llvm::MachineInstrBundleIterator<class llvm::MachineInstr, 0>, class llvm::DebugLoc const &, class llvm::Register, class llvm::Register, bool, bool, bool) const)
>>> referenced 21 more times
lld-link: error: undefined symbol: class llvm::MCRegisterClass const & __cdecl llvm::getXCoreMCRegisterClass(unsigned int)
>>> referenced by LLVMXCoreCodeGen.lib(XCoreRegisterInfo.cpp.obj):(public: __cdecl llvm::XCoreGenRegisterInfo::XCoreGenRegisterInfo(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int))
>>> referenced by LLVMXCoreCodeGen.lib(XCoreRegisterInfo.cpp.obj):(public: __cdecl llvm::XCoreRegisterInfo::XCoreRegisterInfo(void))
lld-link: error: undefined symbol: unsigned short const *const llvm::XCoreRegEncodingTable
>>> referenced by LLVMXCoreCodeGen.lib(XCoreRegisterInfo.cpp.obj):(public: __cdecl llvm::XCoreGenRegisterInfo::XCoreGenRegisterInfo(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int))
>>> referenced by LLVMXCoreCodeGen.lib(XCoreRegisterInfo.cpp.obj):(public: __cdecl llvm::XCoreRegisterInfo::XCoreRegisterInfo(void))
lld-link: error: undefined symbol: unsigned short const *const llvm::XCoreSubRegIdxLists
>>> referenced by LLVMXCoreCodeGen.lib(XCoreRegisterInfo.cpp.obj):(public: __cdecl llvm::XCoreGenRegisterInfo::XCoreGenRegisterInfo(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int))
>>> referenced by LLVMXCoreCodeGen.lib(XCoreRegisterInfo.cpp.obj):(public: __cdecl llvm::XCoreRegisterInfo::XCoreRegisterInfo(void))
lld-link: error: undefined symbol: char const *const llvm::XCoreRegClassStrings
>>> referenced by LLVMXCoreCodeGen.lib(XCoreRegisterInfo.cpp.obj):(public: __cdecl llvm::XCoreGenRegisterInfo::XCoreGenRegisterInfo(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int))
>>> referenced by LLVMXCoreCodeGen.lib(XCoreRegisterInfo.cpp.obj):(public: __cdecl llvm::XCoreRegisterInfo::XCoreRegisterInfo(void))
lld-link: error: undefined symbol: char const *const llvm::XCoreRegStrings
>>> referenced by LLVMXCoreCodeGen.lib(XCoreRegisterInfo.cpp.obj):(public: __cdecl llvm::XCoreGenRegisterInfo::XCoreGenRegisterInfo(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int))
>>> referenced by LLVMXCoreCodeGen.lib(XCoreRegisterInfo.cpp.obj):(public: __cdecl llvm::XCoreRegisterInfo::XCoreRegisterInfo(void))
lld-link: error: undefined symbol: struct llvm::LaneBitmask const *const llvm::XCoreLaneMaskLists
>>> referenced by LLVMXCoreCodeGen.lib(XCoreRegisterInfo.cpp.obj):(public: __cdecl llvm::XCoreGenRegisterInfo::XCoreGenRegisterInfo(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int))
>>> referenced by LLVMXCoreCodeGen.lib(XCoreRegisterInfo.cpp.obj):(public: __cdecl llvm::XCoreRegisterInfo::XCoreRegisterInfo(void))
lld-link: error: undefined symbol: short const *const llvm::XCoreRegDiffLists
>>> referenced by LLVMXCoreCodeGen.lib(XCoreRegisterInfo.cpp.obj):(public: __cdecl llvm::XCoreGenRegisterInfo::XCoreGenRegisterInfo(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int))
>>> referenced by LLVMXCoreCodeGen.lib(XCoreRegisterInfo.cpp.obj):(public: __cdecl llvm::XCoreRegisterInfo::XCoreRegisterInfo(void))
lld-link: error: too many errors emitted, stopping now (use /errorlimit:0 to see all errors)
```
</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/222463
More information about the llvm-commits
mailing list