From 3f709e42e3be0f28a88ca3e77663a02b52c914f4 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 6 Dec 2025 20:56:45 +0100 Subject: Vendor import of llvm-project main llvmorg-21-init-19288-gface93e724f4, the last commit before the upstream release/21.x branch was created. --- llvm/lib/Target/AVR/AVRShiftExpand.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'llvm/lib/Target/AVR/AVRShiftExpand.cpp') diff --git a/llvm/lib/Target/AVR/AVRShiftExpand.cpp b/llvm/lib/Target/AVR/AVRShiftExpand.cpp index f549ae62c8b2..46103bd2b5dd 100644 --- a/llvm/lib/Target/AVR/AVRShiftExpand.cpp +++ b/llvm/lib/Target/AVR/AVRShiftExpand.cpp @@ -52,7 +52,8 @@ bool AVRShiftExpand::runOnFunction(Function &F) { if (!I.isShift()) // Only expand shift instructions (shl, lshr, ashr). continue; - if (I.getType() == Type::getInt8Ty(Ctx) || I.getType() == Type::getInt16Ty(Ctx)) + if (I.getType() == Type::getInt8Ty(Ctx) || + I.getType() == Type::getInt16Ty(Ctx)) // Only expand non-8-bit and non-16-bit shifts, since those are expanded // directly during isel. continue; -- cgit v1.3