[llvm] [X86][APX] Reset SubReg of NewMI operand1 (PR #191765)

via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 13 06:51:10 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 61458 tests passed
* 1565 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] bin/llvm-dwarfutil.exe</summary>

```
FAILED: [code=4294967295] bin/llvm-dwarfutil.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=tools\llvm-dwarfutil\CMakeFiles\llvm-dwarfutil.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\llvm-dwarfutil.rsp  /out:bin\llvm-dwarfutil.exe /implib:lib\llvm-dwarfutil.lib /pdb:bin\llvm-dwarfutil.pdb /version:0.0 /MANIFEST:NO /STACK:10000000 /INCREMENTAL:NO /subsystem:console && cd ."
LINK: command "C:\clang\clang-msvc\bin\lld-link.exe /nologo @CMakeFiles\llvm-dwarfutil.rsp /out:bin\llvm-dwarfutil.exe /implib:lib\llvm-dwarfutil.lib /pdb:bin\llvm-dwarfutil.pdb /version:0.0 /MANIFEST:NO /STACK:10000000 /INCREMENTAL:NO /subsystem:console" failed (exit code 1) with the following output:
lld-link: error: undefined symbol: public: class llvm::PreservedAnalyses __cdecl llvm::LowerIFuncPass::run(class llvm::Module &, class llvm::AnalysisManager<class llvm::Module> &)
>>> referenced by LLVMAArch64CodeGen.lib(AArch64TargetMachine.cpp.obj):(public: virtual class llvm::PreservedAnalyses __cdecl llvm::detail::PassModel<class llvm::Module, class llvm::LowerIFuncPass, class llvm::AnalysisManager<class llvm::Module>>::run(class llvm::Module &, class llvm::AnalysisManager<class llvm::Module> &))
>>> referenced by LLVMPasses.lib(PassBuilder.cpp.obj)

lld-link: error: undefined symbol: class llvm::FunctionPass * __cdecl llvm::createLowerSwitchPass(void)
>>> referenced by LLVMAMDGPUCodeGen.lib(AMDGPUTargetMachine.cpp.obj):(public: virtual void __cdecl llvm::AMDGPUPassConfig::addCodeGenPrepare(void))

lld-link: error: undefined symbol: class llvm::FunctionPass * __cdecl llvm::createFixIrreduciblePass(void)
>>> referenced by LLVMAMDGPUCodeGen.lib(AMDGPUTargetMachine.cpp.obj):(public: virtual bool __cdecl `anonymous namespace'::GCNPassConfig::addPreISel(void))

lld-link: error: undefined symbol: class llvm::FunctionPass * __cdecl llvm::createUnifyLoopExitsPass(void)
>>> referenced by LLVMAMDGPUCodeGen.lib(AMDGPUTargetMachine.cpp.obj):(public: virtual bool __cdecl `anonymous namespace'::GCNPassConfig::addPreISel(void))

lld-link: error: undefined symbol: class llvm::Pass * __cdecl llvm::createLCSSAPass(void)
>>> referenced by LLVMAMDGPUCodeGen.lib(AMDGPUTargetMachine.cpp.obj):(public: virtual bool __cdecl `anonymous namespace'::GCNPassConfig::addPreISel(void))

lld-link: error: undefined symbol: public: class llvm::PreservedAnalyses __cdecl llvm::LoopSimplifyPass::run(class llvm::Function &, class llvm::AnalysisManager<class llvm::Function> &)
>>> referenced by LLVMAMDGPUCodeGen.lib(AMDGPUTargetMachine.cpp.obj):(public: virtual class llvm::PreservedAnalyses __cdecl llvm::detail::PassModel<class llvm::Function, class llvm::LoopSimplifyPass, class llvm::AnalysisManager<class llvm::Function>>::run(class llvm::Function &, class llvm::AnalysisManager<class llvm::Function> &))
>>> referenced by LLVMPasses.lib(PassBuilderPipelines.cpp.obj)
>>> referenced by LLVMPasses.lib(PassBuilder.cpp.obj)

lld-link: error: undefined symbol: public: class llvm::PreservedAnalyses __cdecl llvm::LCSSAPass::run(class llvm::Function &, class llvm::AnalysisManager<class llvm::Function> &)
>>> referenced by LLVMAMDGPUCodeGen.lib(AMDGPUTargetMachine.cpp.obj):(public: virtual class llvm::PreservedAnalyses __cdecl llvm::detail::PassModel<class llvm::Function, class llvm::LCSSAPass, class llvm::AnalysisManager<class llvm::Function>>::run(class llvm::Function &, class llvm::AnalysisManager<class llvm::Function> &))
>>> referenced by LLVMPasses.lib(PassBuilderPipelines.cpp.obj)
>>> referenced by LLVMPasses.lib(PassBuilder.cpp.obj)

lld-link: error: undefined symbol: public: class llvm::PreservedAnalyses __cdecl llvm::CanonicalizeFreezeInLoopsPass::run(class llvm::Loop &, class llvm::AnalysisManager<class llvm::Loop, struct llvm::LoopStandardAnalysisResults &> &, struct llvm::LoopStandardAnalysisResults &, class llvm::LPMUpdater &)
>>> referenced by LLVMAMDGPUCodeGen.lib(AMDGPUTargetMachine.cpp.obj):(public: virtual class llvm::PreservedAnalyses __cdecl llvm::detail::PassModel<class llvm::Loop, class llvm::CanonicalizeFreezeInLoopsPass, class llvm::AnalysisManager<class llvm::Loop, struct llvm::LoopStandardAnalysisResults &>, struct llvm::LoopStandardAnalysisResults &, class llvm::LPMUpdater &>::run(class llvm::Loop &, class llvm::AnalysisManager<class llvm::Loop, struct llvm::LoopStandardAnalysisResults &> &, struct llvm::LoopStandardAnalysisResults &, class llvm::LPMUpdater &))
>>> referenced by LLVMPasses.lib(PassBuilder.cpp.obj)
>>> referenced by LLVMAMDGPUCodeGen.lib(R600TargetMachine.cpp.obj)

lld-link: error: undefined symbol: public: class llvm::PreservedAnalyses __cdecl llvm::EntryExitInstrumenterPass::run(class llvm::Function &, class llvm::AnalysisManager<class llvm::Function> &)
>>> referenced by LLVMAMDGPUCodeGen.lib(AMDGPUTargetMachine.cpp.obj):(public: virtual class llvm::PreservedAnalyses __cdecl llvm::detail::PassModel<class llvm::Function, struct llvm::EntryExitInstrumenterPass, class llvm::AnalysisManager<class llvm::Function>>::run(class llvm::Function &, class llvm::AnalysisManager<class llvm::Function> &))
>>> referenced by LLVMPasses.lib(PassBuilderPipelines.cpp.obj)
>>> referenced by LLVMPasses.lib(PassBuilder.cpp.obj)

lld-link: error: undefined symbol: public: void __cdecl llvm::EntryExitInstrumenterPass::printPipeline(class llvm::raw_ostream &, class llvm::function_ref<class llvm::StringRef __cdecl(class llvm::StringRef)>)
>>> referenced by LLVMAMDGPUCodeGen.lib(AMDGPUTargetMachine.cpp.obj):(public: virtual void __cdecl llvm::detail::PassModel<class llvm::Function, struct llvm::EntryExitInstrumenterPass, class llvm::AnalysisManager<class llvm::Function>>::printPipeline(class llvm::raw_ostream &, class llvm::function_ref<class llvm::StringRef __cdecl(class llvm::StringRef)>))
>>> referenced by LLVMPasses.lib(PassBuilderPipelines.cpp.obj)
>>> referenced by LLVMPasses.lib(PassBuilder.cpp.obj)

lld-link: error: undefined symbol: public: class llvm::PreservedAnalyses __cdecl llvm::LowerSwitchPass::run(class llvm::Function &, class llvm::AnalysisManager<class llvm::Function> &)
>>> referenced by LLVMAMDGPUCodeGen.lib(AMDGPUTargetMachine.cpp.obj):(public: virtual class llvm::PreservedAnalyses __cdecl llvm::detail::PassModel<class llvm::Function, struct llvm::LowerSwitchPass, class llvm::AnalysisManager<class llvm::Function>>::run(class llvm::Function &, class llvm::AnalysisManager<class llvm::Function> &))
>>> referenced by LLVMPasses.lib(PassBuilder.cpp.obj)

lld-link: error: undefined symbol: public: class llvm::PreservedAnalyses __cdecl llvm::LowerInvokePass::run(class llvm::Function &, class llvm::AnalysisManager<class llvm::Function> &)
>>> referenced by LLVMAMDGPUCodeGen.lib(AMDGPUTargetMachine.cpp.obj):(public: virtual class llvm::PreservedAnalyses __cdecl llvm::detail::PassModel<class llvm::Function, class llvm::LowerInvokePass, class llvm::AnalysisManager<class llvm::Function>>::run(class llvm::Function &, class llvm::AnalysisManager<class llvm::Function> &))
>>> referenced by LLVMPasses.lib(PassBuilder.cpp.obj)
>>> referenced by LLVMAMDGPUCodeGen.lib(R600TargetMachine.cpp.obj)

lld-link: error: undefined symbol: public: class llvm::PreservedAnalyses __cdecl llvm::FixIrreduciblePass::run(class llvm::Function &, class llvm::AnalysisManager<class llvm::Function> &)
>>> referenced by LLVMAMDGPUCodeGen.lib(AMDGPUTargetMachine.cpp.obj):(public: virtual class llvm::PreservedAnalyses __cdecl llvm::detail::PassModel<class llvm::Function, struct llvm::FixIrreduciblePass, class llvm::AnalysisManager<class llvm::Function>>::run(class llvm::Function &, class llvm::AnalysisManager<class llvm::Function> &))
>>> referenced by LLVMPasses.lib(PassBuilder.cpp.obj)

lld-link: error: undefined symbol: public: class llvm::PreservedAnalyses __cdecl llvm::UnifyLoopExitsPass::run(class llvm::Function &, class llvm::AnalysisManager<class llvm::Function> &)
>>> referenced by LLVMAMDGPUCodeGen.lib(AMDGPUTargetMachine.cpp.obj):(public: virtual class llvm::PreservedAnalyses __cdecl llvm::detail::PassModel<class llvm::Function, class llvm::UnifyLoopExitsPass, class llvm::AnalysisManager<class llvm::Function>>::run(class llvm::Function &, class llvm::AnalysisManager<class llvm::Function> &))
>>> referenced by LLVMPasses.lib(PassBuilder.cpp.obj)

lld-link: error: undefined symbol: unsigned int __cdecl llvm::getMinMaxReductionIntrinsicOp(unsigned int)
>>> referenced by LLVMAVRCodeGen.lib(AVRTargetMachine.cpp.obj):(public: class llvm::InstructionCost __cdecl llvm::BasicTTIImplBase<class llvm::AVRTTIImpl>::getTypeBasedIntrinsicInstrCost(class llvm::IntrinsicCostAttributes const &, enum llvm::TargetTransformInfo::TargetCostKind) const)
>>> referenced by LLVMBPFCodeGen.lib(BPFTargetMachine.cpp.obj):(public: class llvm::InstructionCost __cdecl llvm::BasicTTIImplBase<class llvm::BPFTTIImpl>::getTypeBasedIntrinsicInstrCost(class llvm::IntrinsicCostAttributes const &, enum llvm::TargetTransformInfo::TargetCostKind) const)
>>> referenced by LLVMLanaiCodeGen.lib(LanaiTargetMachine.cpp.obj):(public: class llvm::InstructionCost __cdecl llvm::BasicTTIImplBase<class llvm::LanaiTTIImpl>::getTypeBasedIntrinsicInstrCost(class llvm::IntrinsicCostAttributes const &, enum llvm::TargetTransformInfo::TargetCostKind) const)
>>> referenced 25 more times

lld-link: error: undefined symbol: unsigned int __cdecl llvm::getArithmeticReductionInstruction(unsigned int)
>>> referenced by LLVMAVRCodeGen.lib(AVRTargetMachine.cpp.obj):(public: class llvm::InstructionCost __cdecl llvm::BasicTTIImplBase<class llvm::AVRTTIImpl>::getTypeBasedIntrinsicInstrCost(class llvm::IntrinsicCostAttributes const &, enum llvm::TargetTransformInfo::TargetCostKind) const)
>>> referenced by LLVMAVRCodeGen.lib(AVRTargetMachine.cpp.obj):(public: class llvm::InstructionCost __cdecl llvm::BasicTTIImplBase<class llvm::AVRTTIImpl>::getTypeBasedIntrinsicInstrCost(class llvm::IntrinsicCostAttributes const &, enum llvm::TargetTransformInfo::TargetCostKind) const)
>>> referenced by LLVMBPFCodeGen.lib(BPFTargetMachine.cpp.obj):(public: class llvm::InstructionCost __cdecl llvm::BasicTTIImplBase<class llvm::BPFTTIImpl>::getTypeBasedIntrinsicInstrCost(class llvm::IntrinsicCostAttributes const &, enum llvm::TargetTransformInfo::TargetCostKind) const)
>>> referenced 53 more times

lld-link: error: undefined symbol: class llvm::cl::opt<unsigned int, 0, class llvm::cl::parser<unsigned int>> llvm::SCEVCheapExpansionBudget
>>> referenced by LLVMBPFCodeGen.lib(BPFTargetMachine.cpp.obj):(public: virtual class llvm::InstructionCost __cdecl llvm::TargetTransformInfoImplCRTPBase<class llvm::BPFTTIImpl>::getPointersChainCost(class llvm::ArrayRef<class llvm::Value const *>, class llvm::Value const *, struct llvm::TargetTransformInfo::PointersChainInfo const &, class llvm::Type *, enum llvm::TargetTransformInfo::TargetCostKind) const)
>>> referenced by LLVMBPFCodeGen.lib(BPFTargetMachine.cpp.obj):(public: virtual class llvm::InstructionCost __cdecl llvm::TargetTransformInfoImplCRTPBase<class llvm::BPFTTIImpl>::getInstructionCost(class llvm::User const *, class llvm::ArrayRef<class llvm::Value const *>, enum llvm::TargetTransformInfo::TargetCostKind) const)
>>> referenced by LLVMBPFCodeGen.lib(BPFTargetMachine.cpp.obj):(public: virtual class llvm::InstructionCost __cdecl llvm::TargetTransformInfoImplCRTPBase<class llvm::BPFTTIImpl>::getInstructionCost(class llvm::User const *, class llvm::ArrayRef<class llvm::Value const *>, enum llvm::TargetTransformInfo::TargetCostKind) const)
>>> referenced 26 more times

lld-link: error: undefined symbol: class llvm::MDNode * __cdecl llvm::GetUnrollMetadata(class llvm::MDNode *, class llvm::StringRef)
>>> referenced by LLVMNVPTXCodeGen.lib(NVPTXAsmPrinter.cpp.obj):(private: bool __cdecl llvm::NVPTXAsmPrinter::isLoopHeaderOfNoUnroll(class llvm::MachineBasicBlock const &) const)
>>> referenced by LLVMNVPTXCodeGen.lib(NVPTXAsmPrinter.cpp.obj):(private: bool __cdecl llvm::NVPTXAsmPrinter::isLoopHeaderOfNoUnroll(class llvm::MachineBasicBlock const &) const)

lld-link: error: undefined symbol: class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __cdecl llvm::getUniqueModuleId(class llvm::Module *)
>>> referenced by LLVMPowerPCCodeGen.lib(PPCAsmPrinter.cpp.obj):(public: virtual bool __cdecl `anonymous namespace'::PPCAIXAsmPrinter::doInitialization(class llvm::Module &))
>>> referenced by LLVMInstrumentation.lib(AddressSanitizer.cpp.obj):(private: void __cdecl `anonymous namespace'::ModuleAddressSanitizer::instrumentGlobals(class llvm::IRBuilder<class llvm::ConstantFolder, class llvm::IRBuilderDefaultInserter> &, bool *))
>>> referenced by LLVMipo.lib(ElimAvailExtern.cpp.obj):(class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __cdecl getNewName(class llvm::Module &, class llvm::GlobalValue const &))
>>> referenced 2 more times

lld-link: error: undefined symbol: class llvm::Pass * __cdecl llvm::createLoopSimplifyPass(void)
>>> referenced by LLVMSPIRVCodeGen.lib(SPIRVTargetMachine.cpp.obj):(public: virtual void __cdecl `anonymous namespace'::SPIRVPassConfig::addISelPrepare(void))
>>> referenced by LLVMSPIRVCodeGen.lib(SPIRVTargetMachine.cpp.obj):(public: virtual void __cdecl `anonymous namespace'::SPIRVPassConfig::addISelPrepare(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/191765


More information about the llvm-commits mailing list