[llvm] [GISel][AArch64] Allow PatLeafs to be imported in GISel which were previously causing warnings (PR #140935)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 9 05:16:56 PDT 2025
jyli0116 wrote:
> This is causing new warnings in my build:
>
> ```
> In file included from /home/jayfoad2/git/llvm-project/llvm/lib/Target/ARM/ARMInstructionSelector.cpp:170:
> /home/jayfoad2/llvm-release/lib/Target/ARM/ARMGenGlobalISel.inc:588:12: warning: unused variable 'Reg' [-Wunused-variable]
> 588 | Register Reg = MO.getReg();
> | ^~~
> 1 warning generated.
Yeah, I've seen these, my bad - I've got a patch fixing these warnings that I'm pushing up soon
https://github.com/llvm/llvm-project/pull/140935
More information about the llvm-commits
mailing list