We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14664b5 commit 64715f4Copy full SHA for 64715f4
llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
@@ -1809,7 +1809,7 @@ void AArch64AsmPrinter::LowerMOVaddrPAC(const MachineInstr &MI) {
1809
.addReg(AArch64::X17)
1810
.addImm((IsNeg ? ~UOffset : UOffset) & Mask16)
1811
.addImm(/*shift=*/0));
1812
- auto NeedMovk = [IsNeg, UOffset](int BitPos) -> bool {
+ auto NeedMovk = [Mask16, IsNeg, UOffset](int BitPos) -> bool {
1813
assert(BitPos == 16 || BitPos == 32 || BitPos == 48);
1814
uint64_t Shifted = UOffset >> BitPos;
1815
if (!IsNeg)
0 commit comments